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: that whole glibc addon options thing should be cleaned up


Hi Dan,

If it's any help I ported the NPTL patches in the crosstool contrib area to
crosstool-0.39, fixed a couple of problems, and built a working NPTL
toolchain for powerpc.  I sent the patches to you a couple of months ago,

Best regards,

Steve

Original Message:
-----------------
From: Dan Kegel dank@kegel.com
Date: Tue, 21 Feb 2006 06:57:18 -0800
To: rpjday@mindspring.com, crossgcc@sources.redhat.com
Subject: Re: that whole "glibc addon options" thing should be cleaned up


On 2/21/06, Robert P. J. Day <rpjday@mindspring.com> wrote:
>   doing my first test this morning to build an SH3eb chain and,
> without thinking, i added the following line to my config file
>   GLIBC_ADDON_OPTIONS="linuxthreads"
> which, naturally, caused the build to crash since, the way
> crosstool.sh is coded, if you want to add your own options, you need
> to explicitly add the equal sign yourself, as in:
>   GLIBC_ADDON_OPTIONS="=linuxthreads"
> surely that can cleaned up to not be quite so ... hacky?

Sure.  Got a patch?

> p.s.  while we're on the subject of addons, why not just modify
> crosstool.sh so that, if you choose not to enable any addons, the
> option "--disable-sanity-checks" is added for you.  or something.

Ditto...

> given that NPTL should be as easily selectable as linuxthreads, it
> seems like it's time to fix this section, no?

Yes, we should make it easy to build an NPTL toolchain, but
that's a whole lot more involved than turning on a glibc addon.
I haven't needed this for my job up til now, so I haven't spent any
time merging the NPTL support patches folks have sent,
but my crystal ball seems to indicate it'll happen sometime this year.
- Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv

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


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



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


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