|
|
View previous topic :: View next topic |
Author |
Message |
TopLoser Guest
|
Multiple compilation units don't link after upgrading PCM |
Posted: Tue May 05, 2009 2:59 am |
|
|
I have several projects that consist of multiple C files that used to compile and link just fine using 4.085 version of the PCM compiler. Each module has an
Quote: |
#EXPORT (FILE=filename)
|
directive at the start. The compiler used to compile each module without error and then did a final link phase at the end to link all the .O files together and create a .HEX file.
Version 4.092 seems to behave in a different way. It still compiles each modules without error, but the final link produces a 'Not found' error when it tries to create the .HEX file. All the .O files are present, it's just the link part that fails.
Quote: |
"C:\Program files\Picc\CCSC.exe" +FM LINK="Converter.hex=ec1.o,ec2.o,main.o,timer.o,eeprom.o" +DF +LN +T +A +M +Z +Y=9 +EA
|
The above line produces the error message
Quote: |
Not found - Converter
|
All the .O files exists, the compilation part went ok.
I've reported this is CCS but haven't had any response for over a week so here I am asking for ideas... |
|
|
Guest
|
Had the same problem |
Posted: Wed Jun 03, 2009 8:21 am |
|
|
I had the same problem.
I did the following:
-creating a text file
-rename it to the hexfile name
Build all --> hex file was there |
|
|
armond Guest
|
Compiler |
Posted: Wed Jun 03, 2009 9:05 am |
|
|
I have a similar problem. Code I wrote in 4.087 worked fine. After I upgraded to 4.090 or later the code stopped working. I had/has something to do with arrays and if statements..it works fine in mplab, but wont work compiled. So for now Im using 4.087 with no problem.. |
|
|
|
|
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
|