another problem in the "installing glibc headers" step of crosstool

Robert P. J. Day rpjday@mindspring.com
Sat Nov 15 13:36:00 GMT 2003


On Sat, 15 Nov 2003, Roman Duka wrote:

> Robert P. J. Day wrote:
> >   i missed this earlier, but again, i'm trying to build a PPC toolchain 
> > with
> > 	gcc-3.3.2
> > 	glibc-2.3.2
> > 	binutils-2.14.90.0.5
> > 	linux-2.4.21
> > 
> >   in all of the output from the step of installing the glibc headers 
> > needed for the bootstrap compiler in crosstool-0.25, i missed this 
> > diagnostic:
> > 
> > ---------------------------
> > checking installed Linux kernel header files... 2.0.10 or later
> > *** WARNING: Are you sure you do not want to use the `linuxthreads'
> > *** add-on?
> > ---------------------------
> > 
> >   um ... i don't know, do i want to use it or not?  i've certainly
> > added that to the glibc build directory.  here's the configure command
> > being run for that stage:
> > 
> > 		CC=gcc \
> >                         ${GLIBC_DIR}/configure \
> >                         --host=$TARGET \
> >                         --prefix=/usr \
> >                         --build=$BUILD \
> >                         --without-cvs \
> >                         --disable-sanity-checks \
> >                         --with-headers=${PREFIX}/${TARGET}/include \
> >                         --enable-hacker-mode
> > 
> >   thoughts?  should i be adding another option related to that add-on?
> > 
> > rday
> > 
> > 
> > ------
> > Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> > Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
> > 
> > 
> > 
> 
> if you read the README and INSTALL etc. files properly, you'll find that 
> passing "--enable-add-ons=linuxthreads" to glibc configure script does 
> the trick

i can see this option being used in the later step in "crosstool" to build
glibc and linuxthreads.  the warning i'm getting is from the earlier step
for installing glibc headers which is necessary for building the boot gcc
compiler.

so while i can certainly that option to the earlier step, i'm reluctant to
hack the crosstool code without knowing why *that* script doesn't include
the option in the earlier step, or whether it's meant to be that way and i
can just ignore the warning.

rday


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list