Re: linker issue with CCS 6

"Jon Kirwan [email protected] [msp430]" <[email protected]> Wed, 03 Feb 2016 09:13:36 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.discuss
Organization Infinite Factors
Message-ID <[email protected]>
I have to just guess because you didn't disclose the linker
file, error log file, and source code here. The only fact
that you suggest is that the code used to compile and link
(and still does, I think) under an older set of compiler
tools and does not compile and link under the newest set.
(And you assert that the linker file matches the processor
correctly, that the processor is the F235, and that you are
using CCS.)

If that is the only difference then I would tend to suppose
that the C compiler either hasn't been informed correctly of
the processor you are using and therefore is making the wrong
assumptions when emitting code into the object files or else
that the C compiler has been changed so that its own
assumptions are different than before regardless of the
processor selected and that you need to place some kind of
additional in-source code lines to help it. (I'm assuming
here that there isn't any assembly code in the project.) In
the first case, you need to properly tell the IDE what
processor you are using so that the CCS toolset can properly
set up the right #define or whatever it uses to figure out
the processor type and emit correct object files. In the
latter case, you probably need to read the docs.

But I don't use CCS and haven't. So this is just an educated
observation about the general situation and not a tailored
observation based upon any specific CCS experience. Perhaps
someone here can better help you.

Jon


------------------------------------
Posted by: Jon Kirwan <[email protected]>
------------------------------------

To unsubscribe from the msp430 group, send an email to:
[email protected]