Compiler settings

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

Post Reply
john_m0ers
Posts: 29
Joined: Wed May 07, 2008 3:41 pm
Location: lincoln
Been thanked: 3 times
Contact:

Compiler settings

Post by john_m0ers »

Hi, I recently tried compiling a fc7 file that has compiled before, only for it to throw up a message telling me I was compiling in FREE mode.
When I looked in compiler options I noticed the PIC compiler had changed to XC8.
The only thing I did recently was update microchips mplab.
Could this have altered it, and could someone tell me how I get this back as it should. Also, the linker option shows "do nothing" only for pic.
regards john

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Compiler settings

Post by kersing »

Both FC7 and FC8 use XC8 in free mode. If you want to you can use your own licensed XC8 compiler for smaller code. If Matrix were to include the non free versions of the compilers Flowcode would become substantially more expensive.

If you were running in the first 30 days of you own XC8 install (it not being part of FC install) it might have used Pro features, creating smaller code.

For XC8 the linker step should not do anything, the compile step takes care of both compiling and linking.

Bottom line: from your description everything configured is as it should be.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

john_m0ers
Posts: 29
Joined: Wed May 07, 2008 3:41 pm
Location: lincoln
Been thanked: 3 times
Contact:

Re: Compiler settings

Post by john_m0ers »

Hi, and thanks for the incredibly speedy answer. I take it the fact that my licences are for the fc7 professional do not include the compilers?
regards john

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: Compiler settings

Post by kersing »

The license for a professional Flowcode version allows you to use Flowcode in a commercial setting. The compilers (and optimization levels) included are the same for all Flowcode licenses.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

Post Reply