OK, I've taken a look and this and have created some gcc options which can be passed to XC16. First, you need to download the latest Firewing BETA:
http://www.firewing.info/downloads/firewing.1003.B22.exeNext, download and install the latest XC16 toolsuite:
http://www.firewing.info/pmwiki.php?n=FirewingUser.XC32ToolsuiteThe two new options are "_gccOptimise" and "_gccLink". For example,
- Code: Select all
#option _gccLink = "C:\Program Files\Microchip\xc16\v1.11\support\PIC24H\gld\p24HJ128GP502.gld"
#option _gccOptimise = 0
will use the default linker file with an optimisation level of 0 (off). If your version of XC16 (or C30) allows it, the different optimisation levels are 0,1,2,3 or "s". Please note this is all experimental and I would appreciate if you could let me know if it works for you.