[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-compilation, part II - Re: [Chicken-users] cross compilation w
Re: cross-compilation, part II - Re: [Chicken-users] cross compilation with 2.7
Tue, 6 Nov 2007 14:31:00 +0000
I notice in chicken-config.h
# define C_TARGET_CC "arm=linux-gcc"
# define C_TARGET_CXX "arm=linux-g++"
I don't seem to be able to override these from the command line. My make was:
make PLATFORM=linux TARGET_PREFIX=$HOME/moko/arm-chicken
Btw, I am just building directly from the trunk which worked fine for
building the ARM version of Chicken. The cross Chicken also built this
way. I am not actually sure how to build a tarball from the trunk. I
did not find a rule for 'make dist'. No doubt I am doing something
daft as this is the first time I have tried the new build system since
On 06/11/2007, felix winkelmann <address@hidden> wrote:
> On 11/6/07, john <address@hidden> wrote:
> > Thanks Felix. I managed to build from the svn trunk for my Linux ARM
> > setup. I am having problems getting the cross Chicken running. I was
> > able to build it but I am not able to set the correct correct
> > compilers. In a previous version I specified them for the build with:
> > TARGET_CC=/home/john/moko/build/tmp/cross/bin/arm-angstrom-linux-gnueabi-gcc
> > TARGET_CXX=/home/john/moko/build/tmp/cross/bin/arm-angstrom-linux-gnueabi-g++
> > Incidently,
> > ./arm-csc -cc-name reports:
> > arm=linux-gcc
> > which I guess is a meant to be 'arm-linux-gcc'.
> Hm. Could this be a typo in your "make" invocation? Can you build the
> cross chicken once again, and send me a build log?