[PATCH 2 of 8] config/target.in: Make usage of --enable-target-optspace configurable
Titus von Boxberg
Sat May 22 16:52:00 GMT 2010
Am 22.05.2010 um 18:22 schrieb Yann E. MORIN:
> Titus, All,
> On Saturday 22 May 2010 16:03:49 Titus von Boxberg wrote:
>> +config TARGET_ENABLE_OPTSPACE
>> + bool
>> + prompt "Optimize gcc libs for size"
>> + default y
>> + help
>> + Pass --enable-target-optspace to crossgcc's configure.
>> + This will compile crossgcc's libs with -Os instead of -O2.
> I'm more in favour of a global "Optimise for size rather than speed" option.
> This can then be used by gcc (enabline --enable-target-optspace) and eglibc
> (replacing the current EGLIBC_OPT_SIZE option), or uClibc (passing -Os into
> UCLIBC_EXTRA_CFLAGS) and so on...
I cannot judge what it really means coupling all these libraries with this option.
I can only see that unchecking TARGET_ENABLE_OPTSPACE is currently required
for this particular arch+compiler, compiling the rest with -Os is maybe OK.
I would like to keep that patch as is and not mix it with further changes,
also because a new "global" option could require a test marathon that I cannot conduct.
And reducing the number of these options can been done at any time afterwards.
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc