[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ltib] Calling Native toolchain as well as target toolchain inmakefi
From: |
Marc Titinger |
Subject: |
Re: [Ltib] Calling Native toolchain as well as target toolchain inmakefile. |
Date: |
Mon, 3 Sep 2007 18:32:51 +0200 |
Hello,
I'm trying to add the libgpg-error package to an iMX31 ltib distro (based on the last Freescale ADS iso), and I need to call the host (i586) gcc instead of the spoofed cross compiler at some point in the Makefile.am.
I've read some tips from thread so I tried :
- setting CC_FOR_BUILD=$BUILDCC in the spec file : didn't work, the binary was still compiled for the target instead of being intel code.
- localy unspoofing the path : did'nt work either, so I'm missing something, please help !
#--------export PATH=$(UNSPOOF_PATH)-----------
export PATH=/home/mtr/ltib-imx31ads-20070511/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-6/arm-none-linux-gnueabi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
cc -I. -I. -o mkerrcodes ./mkerrcodes.c <--- still generates ARM binary.
#--------export PATH=$(SPOOF_PATH)----
export PATH=/opt/freescale/ltib/usr/spoof:/home/mtr/ltib-imx31ads-20070511/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.1.1-glibc-2.4-nptl-6/arm-none-linux-gnueabi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
- Re: [Ltib] Calling Native toolchain as well as target toolchain inmakefile.,
Marc Titinger <=