This is the mail archive of the crossgcc@sourceware.org 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: [PATCH 2 of 8] config/target.in: Make usage of --enable-target-optspace configurable


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...
Yann, All,

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.

Regards
Titus


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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