public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC : unable to compile for a target i686-apple-darwin9 on a host i686-pc-linux-gnu
@ 2008-08-31  2:52 GNULinuxSlackware
  0 siblings, 0 replies; only message in thread
From: GNULinuxSlackware @ 2008-08-31  2:52 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-30  0:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-31  2:52 GCC : unable to compile for a target i686-apple-darwin9 on a host i686-pc-linux-gnu GNULinuxSlackware

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).