threads and NPTL, step by step
Mike Frysinger
vapier@gentoo.org
Wed Nov 9 17:25:00 GMT 2005
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
More information about the crossgcc
mailing list