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: adding NPTL support to the toolchain build process


On Wed, 9 Nov 2005, Mike Frysinger wrote:

> On Wed, Nov 09, 2005 at 09:02:02AM -0500, Robert P. J. Day wrote:
> >   that is, where to add --enable-threads, --with-__thread and so on?
> > i'm sure i'm just missing a critical option somewhere.  thanks.
>
> find attached a simple .c file to test your gcc ... just run
> <your gcc> -c test-__thread.c
>
> if your gcc is new enough for the target, it should work regardless, but if it
> isnt, you'll get an error like:
> test-__thread.c:1: error: thread-local storage not supported for this target

ok, that's the error i'm getting with my *bootstrap* compiler, which
explains why the subsequent step to configure glibc croaks.

so what are the relevant options to configure/build the *bootstrap*
compiler to have the appropriate thread support?

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


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