This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building a cross compiler
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: erwan ancel <erwan dot ancel at free dot fr>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 30 Apr 2003 13:36:37 -0700
- Subject: Re: building a cross compiler
- References: <1051729148.3290.6.camel@brisedorient>
erwan ancel <erwan.ancel@free.fr> writes:
> Hi,
>
> I am trying to build the gcc 3.2.3 under linux for Windows Cygwin
> target.
> my configure parameters are:
> ./configure -v --prefix=/usr/cross-compile --target=i386-mingw32
> --with-gnu-as --with-gnu-ld --disable-multilib
>
> when typing make,
try:
$make cross
instead.
> the xgcc is built, but I got the error:
> checking whether the C compiler (/home/awa/toto/gcc-3.2.3/gcc/xgcc
> -B/home/awa/toto/gcc-3.2.3/gcc/ -B/usr/cross-compile/i386-mingw32/bin/
> -B/usr/cross-compile/i386-mingw32/lib/ -isystem
> /usr/cross-compile/i386-mingw32/include -O2 -g -O2 ) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> make: *** [configure-target-libiberty] Erreur 1
>
> Does anyone know what happens ?
>
> Erwan.