This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: threads and NPTL, step by step


On Wed, Nov 09, 2005 at 12:13:19PM -0500, Robert P. J. Day wrote:
> 	${BINUTILS_SRC_DIR}/configure \
> 		--host=${HOST} \
> 		--target=${TARGET} \
> 		--prefix=${PREFIX} \
> 		--with-sysroot=${SYSROOT_DIR} \
> 		--disable-nls
> 
>   note that there's *nothing* in those steps that needs to be aware
> that we're building with NPTL, right?

correct ... binutils TLS support depends completely on the target itself and 
whether it has knowledge of all the funky TLS relocations/etc...

for the record, Gentoo configures all all binutils targets with (stripping the 
host/build/prefix/libdir/etc... flags):
--enable-64-bit-bfd --enable-shared --disable-werror

>   however, what about installing the glibc headers?  this is what i
> have so far, is it correct?  have i misconfigured it for what i'm
> after?

i cant comment on this because we skip the glibc headers step in Gentoo and 
build the bootstrap compiler with --without-headers so it seems like it 
shouldnt matter since i'm able to compile the thread test with a bootstrap 
sparc compiler (which means the only thing ive done was build sparc binutils 
and sparc gcc)
-mike

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


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