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


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...

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


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