This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with building cross compiler on Cygwin
- From: llewelly at xmission dot com
- To: "David J. Stelte" <stelte at comcast dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 21 May 2004 09:22:36 -0600
- Subject: Re: Problem with building cross compiler on Cygwin
- References: <40ABA01E.2050900@comcast.net>
"David J. Stelte" <stelte@comcast.net> writes:
> I've been trying (unsuccessfully so far) to build a 68k-coff gcc
> running on Cygwin. I have been using the process documented in:
>
> http://www.objsw.com/CrossGCC/FAQ-4.html
>
> This process builds the binutils first, then the crossgcc, followed by
> newlib and lastly gdb.
>
> My binutils (assembler, loader, etc) build and install just
> fine. However I cannot get the crossgcc to build. The build dies
> somewhere in the middle with the tail end of the build output as
> follows:
>
> ..................
> checking for ANSI C header files... no
> checking for uintptr_t... no
> checking for pid_t... no
> checking whether the C compiler ( /home/Dave/foo/build-gcc/gcc/xgcc
> -B/home/Dave/foo/build-gcc/gcc/ -B/bar/m68k-coff/bin/
> -B/bar/m68k-coff/lib/ -isystem /bar/m68k-coff/include -O2 -g -O2 )
> works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> make: *** [configure-target-libiberty] Error 1
Please try crossgcc at sources dot redhat dot com, a mailing list
for cross compiling.
It looks to me like you don't have C library headers for your target
platform. Either obtain the headers, (and make sure the compiler can
find them), or try configuring with --without-headers.