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

compiler error

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



Joined: 04 Apr 2013
Posts: 20

View user's profile Send private message

compiler error
PostPosted: Sun Apr 18, 2021 6:16 am     Reply with quote

Hi
I have old project on mplab8.92 with 4.065 compiler version.
When compiling everything works great and I get a permanent checksum.
My problem is when I am trying to load the same project in MPLAB X
with the same 4.065 compiler version I get error when trying to compile:
Invalid option: out=build/default/production\_ext\1472

I have other compiler 5.008 version that works with MPLAB X but
after compiling the code I get a different checksum.
Regards yossi
temtronic



Joined: 01 Jul 2010
Posts: 9242
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Apr 18, 2021 7:06 am     Reply with quote

1st, I don't use MPLAB X, still using MPLAB8V92, as for the 'error', you'll have to see what 'X' requires for the 'option' that you've chosen.

2nd, checksums being different. You'd have to see what algorithm both compilers use. I don't know and there are 1000's of ways to compute a checksum. When CCS went from 4.xxx to 5.xxx they made a LOT of changes, so it's possible they used a different checksum algorithm.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Apr 18, 2021 10:05 am     Reply with quote

This topic is similar to your problem:

Invalid option: +EX
http://www.ccsinfo.com/forum/viewtopic.php?t=58917
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Mon Apr 19, 2021 3:36 am     Reply with quote

and, basically pretty much every compiler version, _will_ give a different
checksum. That is why compiler versions are different. They make small
changes to the code they produce to fix bugs, improve performance, etc. etc.
Every such change will result in a different checksum.
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