Hi all, I`m trying to compile the pic16F916 but it has a strange problem when it calls the linker.
1) with this compilation command, without specifying the lkr file, it calls the default linker: C:\>sdcc -mpic16 --out-fmt-ihx test.c message: using default linker script "C:\Program Files\gputils\lkr\18f452.lkr" It`s ok. 2) if I try to specify a lkr file, it doesn`t accept and calls the default: C:\>sdcc -mpic16 -l 16f916.lkr --out-fmt-ihx test.c error: "C:\Program Files\gputils\lkr\16f916.lkr" is not a valid coff object or archive message: using default linker script "C:\Program Files\gputils\lkr\18f452.lkr" I can`t realize where is the error, because the file 16f916.lkr exists in the folder. 3) Now is the problem, if i specify the default lkr file, it shows the error message but calls it: C:\>sdcc -mpic16 -l 18f452.lkr test.c error: "C:\Program Files\gputils\lkr\18f452.lkr" is not a valid coff object or archive message: using default linker script "C:\Program Files\gputils\lkr\18f452.lkr" So, if have any on what`s happening here, please give me this help. Thanks in advance. -- Marcelo dos Santos Rodrigues
------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user