This is the mail archive of the crossgcc@sources.redhat.com 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: testing uClibc patch


> Charlie Brady wrote:
> > Carl/Dan, do you have plans to provide a top level mechanism for tweaking 
> > library options? I'm keen to configure uClibc without locale support - I 
> > suspect that's what's bloated hello world to 295k.
> 
> I already provide a way to set environment variables
> and command line parameters for glibc; the same can
> be done for uclibc.  Is that enough, or do they
> need a config file?

Nope, uClibc needs a config file.  It uses a config system very similar
to the Linux kernel config.  Much config tweaking and updating can be
scripted, but it takes some trial and error to get the exact scripting
commands right.  And then it takes some more trial and error to figure
out what other options magically appear (and will cause the next
"make oldconfig" to stop and ask you how you want them set) after your
script makes the changes.  So I'd prefer to keep the scripted changes
that crosstool performs on uClibc configs to a minimum.  Necessary
"the build will fail if this isn't set this way" stuff only; I'd rather
non-critical user preferences come in through a config file that the
user has prepared beforehand.


                              -----Carl

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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