View previous topic :: View next topic |
Author |
Message |
yossihagag1978
Joined: 04 Apr 2013 Posts: 20
|
compiler error |
Posted: Sun Apr 18, 2021 6:16 am |
|
|
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
|
|
Posted: Sun Apr 18, 2021 7:06 am |
|
|
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
|
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19538
|
|
Posted: Mon Apr 19, 2021 3:36 am |
|
|
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. |
|
|
|