Hello, this is my first post in here. I'm using SDCC to build project with PIC16F1829. It worked on two machines - one Linux box with SDCC snapshot 3.5.1 #9263, second one is windows machine with SDCC 3.5.4 #9360. I always used the latest snapshot. For Linux 3.5.0 build I have problem running the binary, due to the "GLIBC 3.4.20" problem. I'm trying to build the same project on third machine, with newest snapshot 3.5.5 #9509, but I'm running into problems. I isolated the problem to simplest source:
When compiling simple source (tst.c) for PIC16F877 # sdcc --use-non-free -mpic14 -ppic16f877 tst.c message: Using default linker script "/usr/local/share/gputils/lkr/16f877_g.lkr". # though the same on PIC16F1829 # sdcc --use-non-free -mpic14 -ppic16f1829 tst.c message: Using default linker script "/usr/local/share/gputils/lkr/16f1829_g.lkr". error: Processor family mismatch in "idata.o". # where tst.c looks like: void main (void) { while (1); } For PIC16F877, there is normally generated code - for PIC16F1829, nothing. I tried to google for this error and this one looks similar https://sourceforge.net/p/sdcc/mailman/message/34324501/ though the changes that Gál Zsolt suggested seem to be in pic14device.txt file as expected: processor 16f1829, 16lf1829 program 8K data 1024 eeprom 256 enhanced 1 io 18 maxram 0x07f bankmsk 0xf80 config 0x8007 0x8008 regmap 0xf80 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b memmap 0x20 0x6f 0x000 memmap 0x70 0x7f 0xf80 Any idea what is the problem with my setup? Any additional info I can provide? Thanks, Jaromir Sukuba ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user