Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
minimal glibc + gcc?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Ansorg
Apprentice
Apprentice


Joined: 13 Jul 2002
Posts: 193

PostPosted: Mon Aug 19, 2002 11:08 pm    Post subject: minimal glibc + gcc? Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Mon Aug 19, 2002 11:17 pm    Post subject: Re: minimal glibc + gcc? Reply with quote

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
View user's profile Send private message
Ansorg
Apprentice
Apprentice


Joined: 13 Jul 2002
Posts: 193

PostPosted: Mon Aug 19, 2002 11:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Tue Aug 20, 2002 7:09 pm    Post subject: Reply with quote

Try This one
It's about installing libc with just 1 locale.
Back to top
View user's profile Send private message
Sylgeist
n00b
n00b


Joined: 04 Dec 2002
Posts: 36
Location: USA

PostPosted: Thu Feb 20, 2003 5:43 pm    Post subject: glibc Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum