This is the mail archive of the 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: --enable-clocale=gnu and enabling locales in crosstool-0.25

Stuart Hughes wrote:
I was looking to enable full locale support in the crosstool toolchain
build.  The idea was that these could be copied from the toolchain onto
the target image to support locales.

First, to do this I changed the configure of glibc to have
'enable-add-ons' which should enable the locales (I think 0.27 has it
this way already, see Also I added make localedata/install-locales install_root=${PREFIX}/${TARGET} to the install section.

Sounds good. I'll add that in, but comment it out with a note encouraging people who want locale data to enable it. Or does the locale data not take long to build?

While doing this I noticed that glibc was configured with
'--enable-clocale=gnu', with a comment

# The --enable-clocale=gnu is recommended by LFS; see

I took a look at this, but it seems that that option should be going to the configure of gcc, not glibc ??

Eeek. Thanks. I'll have a look at that.

My questions are:

- Has anyone built full locales with crosstool and installed them onto a
target.  Is what I'm trying to do valid ?

Sounds valid to me.

- Should the '--enable-clocale=gnu' be moved from the configure section
of glibc,  to the configure section of gcc ?

Erm, probably.

- Dan

My technical stuff:
My politics: see for examples of why I'm for regime change

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

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