View previous topic :: View next topic |
Author |
Message |
tipoldo
Joined: 01 Feb 2006 Posts: 14 Location: Palma Mallorca
|
Assembler .o files import |
Posted: Wed Mar 28, 2007 5:52 am |
|
|
Hi everybody,
does anybody know if the 4.x CCS compiler can import .o files dones in assembler? Currently I have a 3.x compiler, and it doesn't have any linker. I've read that the 4.x comes with a linker, and the documentation of it explains how to use it, but it doesn't specify if the .o can be objet files made by the MPLAB assembler compiler. If it is possible, i'll update my compiler (because I need it).
Thank's |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
tipoldo
Joined: 01 Feb 2006 Posts: 14 Location: Palma Mallorca
|
|
Posted: Fri Mar 30, 2007 4:41 am |
|
|
Ok, first of all, thank you for the info. The post you linked, are talking about how to import .o files compiled with the CCS. I need to import .o mades by the MPLAB assambler. What I mean is that I need to use a module made with assambler inside a C main program by CCS compiler. I can not use the #ASM directive, because in this assembler module, I'm using assembler macros, that are not compatible with the C macros. With the C18 that is possible, but unfortunetly C18 doesn't work with PIC16****. |
|
|
|