Crosscompiler for i686-pc-linux from cygwin

David Korn
Tue Jan 22 10:59:00 GMT 2002

>-----Original Message-----
>From: Wouter Andy []
>Sent: 22 January 2002 16:19

>$ mkdir build-gcc && cd build-gcc
>$ ../gcc-3.0.3/configure --target=${TARGET} \
>    --prefix=${PREFIX} --without-headers --with-newlib \
>    2>&1 | tee configure.log
>$ make all-gcc install-gcc 2>&1 | tee make.log

    Hi Wouter,

  Argh, Bill messed up.  That "--without-haders --with-newlib" is a 
kludgey way of getting a bootstrap compiler and I guess it's not working
right now.

  OK, the make goes wrong because it's trying to build too much at the
moment and so running into problems when it gets to some of the trickier
bits.  You only want a bootstrap compiler, so you also need to give
configure the flag:


and to the make command you must add


on the command line.  Have a go at that, then you should get enough of
a compiler working and installable that you can proceed to build glibc;
when you've got glibc built for your target it will take care of supplying
the header files that were missing when you indadvertently tried building
the full gcc.

  NB:  It is probably only necessary to use --enable-languages with 3.0.x,
but it should do no harm to make extra sure by adding the LANGUAGES macro
to the make command as well.

Burn your ID card!
Help support the campaign, copy this into your .sig!

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list