CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

setting optimization level

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Coolio
Guest







setting optimization level
PostPosted: Wed Jan 25, 2006 3:10 pm     Reply with quote

Hello,

I cannot find any documentation as to how to set the compiler flags for optimization in CCS. Does this compiler even support different optimization levels or is there only the "default". I want to tell the compiler to optimize for code density if possible.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Jan 25, 2006 3:48 pm     Reply with quote

Download the CCS manual and look in the section on #OPT:
http://www.ccsinfo.com/download.shtml#CompilerManual
Ttelmah
Guest







PostPosted: Wed Jan 25, 2006 3:48 pm     Reply with quote

#opt

It defaults to a high setting, and on some recent versions which offer new high levels, it is necessary to turn the compiler 'down', in this regard, or programs have been failing (going down to the old maximum of #opt 9).
It is in the manual.

Best Wishes
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group