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: local patches feature


Dan, all,

Quoting Dan Kegel <dank@kegel.com>:
> On 2/19/06, Yann E. MORIN <yann.morin.1998@anciens.enib.fr> wrote:
> > So, using alphabeticaly ordered files is borked, unless you master the
> > locale.
> Indeed.  crosstool-0.40's getandpatch.sh sets the locale to C before
> doing the sort.
> (I should probably set it in crosstool.sh, too, for safety... but I
> haven't yet.)

Well. "C" seems to be the locale of choice, but unfortunately, some patches
were not ordered with the C locale when created, but with some en_* locale
(must be en_US, I guess).

Maybe we could use some environment variable to force crosstool to use an
alternate locale, and fall back to C if it is not set...

I think we should try every build possible, using the C locale, and look at
those builds which fail. For those, set the locale to en_US, and try them
again. For those that still fail, then we have a problem, because we don't
know how they possibly were created.

So the best option IMHO is to use a series file, and fall back to using
file sorting for directories that don't have such a file.

I will have a look at ct-0.40 when I have time (probably tonight (GMT+1)).
I must also update my uClibc work (long time I have said this :-(, but still
I have to do it).

Ho, and a stupid question: is it even thinkable to one day have a front-end
to crosstool that let's you pick the binutils, the C library, the gcc, the
headers (kernel or sanitised), etc..., and outputs the .dat file for this
configuration? Some kind of dialog- or mconf-based menu?

Regards,
Yann E. MORIN.

--
Yann E. MORIN
Roaming in the world...

------
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]