trouble building gcc-3.2 --target=m68k-linux from scratch
Dan Kegel
dank@kegel.com
Mon Aug 19 21:12:00 GMT 2002
Peter Barada wrote:
> I'm attempting to build a m68k-linux compiler from scratch using stock
> versions of:
>
> linux-2.5.1
> binutils-2.13
> gcc-3.2
> glibc-2.2.5
> gdb-5.2.1
>
> building with bill Gatliff's script to config the kernel, copy over
> the hears, config/binud binutils, config/build gcc-bootstrap...
> ...
> And it fails building gcc/unwind-dw2.c:
> ...
> Since a stock linux source doesn't have pthread.h in its headers, and
> glibc hasn't been built yet, there's no pthread.h that can be used at
> this time.
I ran into something like this on ppc on gcc-3.0.4; the fix was
to do a glibc "make install-headers" before building gcc, I think. See
http://www.kegel.com/xgcc3/
- Dan
More information about the Gcc
mailing list