This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Compiler Optimisation level
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Aniket S Joshi <aniketsj at myw dot ltindia dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 13 Jun 2005 14:09:20 +0200
- Subject: Re: [ECOS] Compiler Optimisation level
- References: <s2adc08e.098@EMAIL>
On Mon, Jun 13, 2005 at 05:21:03PM +0530, Aniket S Joshi wrote:
> Dear All,
>
> I am using Hitachi 7729R controller with ecos.
> How to change GCC Compiler code Optimisation Level in ecos?
edit the ecos.ecc file in your work tree. There will be a section for
CYGBLD_GLOBAL_CFLAGS. Umcomment the user_value and set -O to what ever
value you want.
Then do a
ecosconfig tree
make clean
make
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss