single-tree make can't build a cross-compiler

Thunder Scientific Corporation mike@ThunderScientific.com
Fri Mar 10 16:32:00 GMT 2000


I had already reached the conclusion that GNU makescripts had problems
building a cross-compiler for i486-pc-linux-gnu targets on an
i686-pc-linux-gnu host.  I decided to give the one tree make a try, using
the script one-tree-1.6.sh from ftp.objsw.com/crossgcc in a last-ditch
effort.

Well, f.w.i.w. that script didn't run without fixing it up, but I got
through that part OK.  Same scenario, but I built a new source directory and
packed the tar.gz files into a directory called tars.  The script worked
fine, and the one tree source was generated OK.

But the make still crumped, with a previously reported file not found error.
(I'm omitting messy redundant details here.):

../../../src/libio/iogetline.c
In file included from ../../../src/libio/iolibio.h:1,
                 from ../../../src/libio/libioP.h:47,
                 from ../../../src/libio/iogetline.c:26:
../../../src/libio/libio.h:30: _G_config.h: No such file or directory
make[1]: *** [iogetline.o] Error 1
make[1]: Leaving directory
`/usr/src/build-src/build/i486-pc-linux-gnu/libio'
make: *** [all-target-libio] Error 2


There seems to be a problem with wanting to find "_G_config.h" in this make.
Obviously the make works fine for targets which are significantly different.
This is too bad because the GNU tools have such a splendid potential, and I
would love to use them.

Thanks for your courtesy, everyone.

Richard Bowser
Engineer
Thunder Scientific Corporation

Email:    richardb@thunderscientific.com





More information about the Gcc-bugs mailing list