[PATCH 2 of 8] config/target.in: Make usage of --enable-target-optspace configurable

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Sat May 22 16:55:00 GMT 2010


Titus, All,

On Saturday 22 May 2010 18:52:22 Titus von Boxberg wrote:
> Am 22.05.2010 um 18:22 schrieb Yann E. MORIN:
> > 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.

OK, this is a sensible motivation!
Then, the option should belong to the gcc sub-menu, and the patch should
be folded with the next one, where the option is actuallt used by the
build script.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



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



More information about the crossgcc mailing list