??? 05/27/09 16:51 Read: times |
#165623 - SDCC Linker problem with CMON51 |
Hello,
I'm currently working to port CMON51 (http://cmon51.sourceforge.net/) to my board. With an older compiler version it worked and linked (I flashed a version to my board and it works nicely), but if I try to compile the source with the current version I get the following: sdcc -c -DSFR_CODE_LOC=0x7ff8 -DXRAM_CODE_LOC=0x2000 8052.c 8052.c:203: warning 185: comparison of 'signed char' with 'unsigned char' requires promotion to int sdcc -c cmon51.c sdcc -c d51.c sdcc -c step.c sdcc --code-size 0x2000 --xram-loc 0x1f00 --xram-size 0x100 8052.rel cmon51.rel d51.rel step.rel ?ASlink-Error-Could not get 20 consecutive bytes in internal RAM for area DSEG. make: *** [8052.hex] Fehler 1 My SDCC has the version: $ sdcc --version SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.9.1 #5464 (May 27 2009) (UNIX) (Freshly compiled SDCC build from today) Any useful ideas? Thanks! Matthias |
Topic | Author | Date |
SDCC Linker problem with CMON51 | 01/01/70 00:00 | |
a wild, wild guess | 01/01/70 00:00 | |
I already tried a typecast | 01/01/70 00:00 | |
Why not take this to the SDCC forum? | 01/01/70 00:00 | |
Already considered this... | 01/01/70 00:00 | |
another possibility which is easy to check if ... | 01/01/70 00:00 | |
I assume so... | 01/01/70 00:00 | |
findings | 01/01/70 00:00 | |
findings2 | 01/01/70 00:00 | |
Temporary fix | 01/01/70 00:00 | |
back to the drawing board... | 01/01/70 00:00 | |
it's much less for DATA | 01/01/70 00:00 | |
fix for --funsigned-char | 01/01/70 00:00 | |
I'd like to but... | 01/01/70 00:00 | |
how to patch | 01/01/70 00:00 | |
Patch worked but SDCC doesn't compile anymore... | 01/01/70 00:00 | |
HOW doesn't compile? | 01/01/70 00:00 | |
Buffer cut | 01/01/70 00:00 | |
not enough direct-addressable memory | 01/01/70 00:00 | |
Nice idea but.... | 01/01/70 00:00 | |
I can try with the versions I have here... | 01/01/70 00:00 | |
Sure, why not | 01/01/70 00:00 | |
Solution found | 01/01/70 00:00 | |
SDCC Linker problem with CMON51![]() | 01/01/70 00:00 |