This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with building cross compiler on Cygwin


"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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]