GCC : unable to compile for a target i686-apple-darwin9 on a host i686-pc-linux-gnu

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

 



Hello,
My goal is to build a gcc cross-compiler : --target=i686-apple-darwin9
--host=i686-pc-linux-gnu.
I use gcc 4.3.2 on a i686-pc-linux-gnu.

I do :
tar -jxvf gcc-4.3.2.tar.bz2
mkdir gcc-4.3.2-build
cd gcc-4.3.2-build
../gcc-4.3.2/configure --target=i686-apple-darwin9 --host=i686-pc-linux-gnu
make

And I got :

checking for i686-apple-darwin9-gcc...
/home/yugiohjcj/gcc-4.3.2-build/./gcc/xgcc
-B/home/yugiohjcj/gcc-4.3.2-build/./gcc/
-B/usr/local/i686-apple-darwin9/bin/
-B/usr/local/i686-apple-darwin9/lib/ -isystem
/usr/local/i686-apple-darwin9/include -isystem
/usr/local/i686-apple-darwin9/sys-include
checking for suffix of object files... configure: error: cannot
compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Erreur 1
make[1]: quittant le répertoire « /home/yugiohjcj/gcc-4.3.2-build »
make: *** [all] Erreur 2

how to resolve this?
Thank you.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux