From: Vangelis R. <vr...@ot...> - 2004-06-05 16:02:27
|
On Sat, 5 Jun 2004, George M. Gallant wrote: > Vangelis, > > I downloaded the sdcc-20040605. Below are the errors while building > the pic16 libraries. It looks like the asm file was built for mcs51. The > math > functions built without any problems. I will try to load a test program into > a pic18f242 this weekend. > > make[1]: Entering directory > `/home3/local/src/pic/sdcc/sdcc-20040605/device/lib/pic16/startup' > ../../../../bin/sdcc --nostdinc --nostdlib -c crt0.c > ?ASxxxx-Error-<o> in line 85 of crt0.asm > <o> .org in REL area or directive / mnemonic error That's an error from my side... edit the Makefile in the device/lib/pic16/startup directory and add $(MODELFLAG) to the COMPILE_FLAGS variable. Eventually, it should look like: COMPILE_FLAGS += $(MODELFLAGS) --nostdinc --nostdlib I'll correct the bug as soon as possible, Thanks for the report. Vangelis |