This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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: Compiler Optimisation level


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


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