General Forums >> General Programming

Mark Pappin

***

Reged: Nov 01 2004
Posts: 599
Loc: Brisbane, Australia
Re: Compiler Optimization
      Mon May 29 2006 06:07 PM

Quote:

We are using Microchip MPLAB 7.30 and Hi-Tech PICC18 compiler



Then this question should have been posted in the PICmicro forum, not here. It is not a General Programming question.

Quote:

We feel that the optimization option provided in the IDE is not working. Even though we enable or disable optimization with the highest level (9), no changes in the flash code size / RAM size is seen.



Our compilers before version 9 defaulted to no optimization, and our existing MPLAB plugin only adds an optimization option to the command line it generates when optimization is turned on.

Our version 9 compilers default to full optimization. To disable optimization you must explicitly add the command line option --opt=none. You normally do not want to do this - it is generally only useful if you believe you have encountered a bug in the optimizer.

A new MPLAB plugin is in development and will be available soon if all goes well.

--------------------
Mark Pappin - HI-TECH Software

Post Extras Print Post   Remind Me!     Notify Moderator


Entire topic
Subject Posted by Posted on
* Compiler Optimization vinay Mon May 29 2006 09:51 AM
. * * Re: Compiler Optimization Mark Pappin   Mon May 29 2006 06:07 PM

Extra information
0 registered and 4 anonymous users are browsing this forum.

Moderator:  Dan Henry, jtemples, mikerj, Andrew L 



Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is enabled
      UBBCode is enabled

Rating:
Thread views: 2352

Rate this thread

Jump to

Contact Us | Privacy statement HI-TECH Software

Powered by UBB.threads™ 6.5.5