[ECOS] Compiler Optimisation level

Andrew Lunn andrew@lunn.ch
Mon Jun 13 12:09:00 GMT 2005


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



More information about the Ecos-discuss mailing list