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