I am struggling to understand why there is no linker provided by CCS for the MPLAB plug in.
Quote:
Do not add more than one .C file under Source Files in the Project Window. If you add more than one .C file here when you compile your project MPLAB will compile each .C file individually and then attempt to link them. Since CCS does not include a linker this will always give you an error.
That was straight from the ccsinfo website...
It is terrible design to put all your code into one .c file! Is there a way to get around this problem?
Thanks,
Simon
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Wed Jul 20, 2005 5:46 am
Not having a linker is different from what you are used to but you can still create multiple C files. What this quote is saying is that the way CCS implemented the multiple C-files structure is not compatible with the way MPLAB expects it to be.
In CCS you create multiple .c files as you are used to, the difference is that in your main.c file you insert #include instructions for these files.
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