ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] Compiling libart


From: Stuart Hughes
Subject: Re: [Ltib] Compiling libart
Date: Tue, 13 Oct 2009 15:52:08 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080707)

Hi Alan,

You have 2 options:

1/ make CC="$BUILDCC'

or probably better as it turns off spoofing temporarily:

2/
export PATH=$UNSPOOF_PATH
... stuff done in the normal host build environment ...
export PATH=$SPOOF_PATH

Regards, Stuart

Alan Carvalho de Assis wrote:
Hi Stuart,

I am facing a problem to compile libart because its Makefile doesn't
have HOSTCC option.

When I pass CC=gcc it uses gcc from crosscompiler, then I use this:

+ make CC=gcc-4.3 gen_art_config
gcc-4.3 -DHAVE_CONFIG_H -I. -I. -I. -DLIBART_COMPILATION    -g -O2
-Wall -Wmissing-prototypes -MT gen_art_config.o -MD -MP -MF
.deps/gen_art_config.Tpo -c -o gen_art_config.o gen_art_config.c
/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-as:
unrecognized option '-Qy'
make: *** [gen_art_config.o] Error 1
error: Bad exit status from /home/alan/ltib/tmp/rpm-tmp.63263 (%build)

Unfortunately there is not an as-2.91 to differentiate from toolchain
AS. I already tried many ideas with no success.

Then I need a way on my .spec to leave the "spoof" just for a moment
in order to compile the gen_art_config using my host compiler.

How can I do that?

Best Regards,

Alan


_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/ltib





reply via email to

[Prev in Thread] Current Thread [Next in Thread]