--enable-clocale=gnu and enabling locales in crosstool-0.25
Stuart Hughes
seh@zee2.com
Wed Mar 24 17:18:00 GMT 2004
Hi everyone,
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 crosstool.sh). Also I added
make localedata/install-locales install_root=${PREFIX}/${TARGET}
to the install section.
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
http://bugs.linuxfromscratch.org/show_bug.cgi?id=411
I took a look at this, but it seems that that option should be going to
the configure of gcc, not glibc ??
My questions are:
------------------
- Has anyone built full locales with crosstool and installed them onto a
target. Is what I'm trying to do valid ?
- Should the '--enable-clocale=gnu' be moved from the configure section
of glibc, to the configure section of gcc ?
Thanks for any guidance,
Regards, Stuart
------
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