This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: gcc CXX_FLAGS


Arnaud, All,

On 2013-05-25 15:59 -0700, gabx spake thusly:
[--SNIP--]
>  Once the toolchain is built and used to build Android, shall I pass again
> all these flags, or are they in fact already activated in
> the arm-cortexa9_neon-linux-gnueabihf-gcc ?

If you set an optimisation level in the crosstool-NG configuration, it
will only be used internally, for example to build libstdc++ or libgcc_s.

There is no way to tell gcc what optimisation level to default to. So,
you have to specify the required optimisation level everytime you call
to gcc.

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]