View previous topic :: View next topic |
Author |
Message |
Ansorg Apprentice
Joined: 13 Jul 2002 Posts: 193
|
Posted: Mon Aug 19, 2002 11:08 pm Post subject: minimal glibc + gcc? |
|
|
while watching the bootstrap of the 1.4-stage1 I wonder:
building glibc creates a lot of Locale files (or how they are called) for thousands of Languages. I need only english and perhaps german. Is there some way to limit the number of locales that get build?
and gcc builds a few language modules which I probably don't need: i.e java (building that takes ages to finish ...) Is there a way to disable some languages in the bootstrap process? _________________ thanks
Jens |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Aug 19, 2002 11:17 pm Post subject: Re: minimal glibc + gcc? |
|
|
Ansorg wrote: | building glibc creates a lot of Locale files (or how they are called) for thousands of Languages. I need only english and perhaps german. Is there some way to limit the number of locales that get build? |
You can USE="-nls" to lose them all, but AFAIK Gentoo does not have a way to specify just a few. Debian does; maybe we could steal their method. I don't remember how complicated the Debian locale stuff was offhand, though.
Quote: | gcc builds a few language modules which I probably don't need: i.e java (building that takes ages to finish ...) Is there a way to disable some languages in the bootstrap process? |
You would think that USE="-java" would stop gcj from getting built, but the last time I built GCC (3.1-r6, I think), it didn't. Whoops. I'm looking at the 3.2 ebuild now, and it looks like USE="-java" will indeed now stop gcj from getting built, so that's the cleanest way to do that.
The first time gcc gets compiled in the bootstrap process, it only builds the C compiler. To hack the ebuild to eliminate languages on your installation by hand, look at the --enable-languages line in the configure call and the ${gcc_lang} variable in the ebuild. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
Ansorg Apprentice
Joined: 13 Jul 2002 Posts: 193
|
Posted: Mon Aug 19, 2002 11:28 pm Post subject: |
|
|
that was quick
thanks, I'll check that out
now I'm wondering:
would recompiling glibc with -nls remove already installed locales? _________________ thanks
Jens |
|
Back to top |
|
|
AlterEgo Veteran
Joined: 25 Apr 2002 Posts: 1619
|
Posted: Tue Aug 20, 2002 7:09 pm Post subject: |
|
|
Try This one
It's about installing libc with just 1 locale. |
|
Back to top |
|
|
Sylgeist n00b
Joined: 04 Dec 2002 Posts: 36 Location: USA
|
Posted: Thu Feb 20, 2003 5:43 pm Post subject: glibc |
|
|
On the same topic - I see in the ebuild the IUSE line at the top:
IUSE: "nls pic build"
If I specifice a "-nls" in my make.conf will it get overwritten by the IUSE flags? The reason I'm doing this is because I can't compile glibc without it erroring out on a locale file and since I don't need it anyway - why use it?
Thanks |
|
Back to top |
|
|
|