| Matthias Arndt 05/27/09 11:51 Read: 547 times Friedrichshafen Germany |
#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 | Matthias Arndt | 05/27/09 11:51 |
| a wild, wild guess | Erik Malund | 05/27/09 12:04 |
| I already tried a typecast | Matthias Arndt | 05/27/09 12:07 |
| Why not take this to the SDCC forum? | Richard Erlacher | 05/27/09 13:01 |
| Already considered this... | Matthias Arndt | 05/27/09 14:06 |
| another possibility which is easy to check if ... | Erik Malund | 05/27/09 15:21 |
| I assume so... | Matthias Arndt | 05/27/09 15:40 |
| findings | Jan Waclawek | 05/27/09 16:18 |
| findings2 | Jan Waclawek | 05/27/09 16:43 |
| Temporary fix | Matthias Arndt | 05/28/09 11:08 |
| back to the drawing board... | Matthias Arndt | 05/28/09 11:43 |
| it's much less for DATA | Jan Waclawek | 05/28/09 16:29 |
| fix for --funsigned-char | Jan Waclawek | 06/01/09 03:34 |
| I'd like to but... | Matthias Arndt | 06/01/09 12:24 |
| how to patch | Jan Waclawek | 06/01/09 15:35 |
| Patch worked but SDCC doesn't compile anymore... | Matthias Arndt | 06/01/09 15:58 |
| HOW doesn't compile? | Jan Waclawek | 06/01/09 16:07 |
| Buffer cut | Matthias Arndt | 05/27/09 16:45 |
| not enough direct-addressable memory | Jan Waclawek | 05/27/09 13:07 |
| Nice idea but.... | Matthias Arndt | 05/27/09 14:04 |
| I can try with the versions I have here... | Jan Waclawek | 05/27/09 14:26 |
| Sure, why not | Matthias Arndt | 05/27/09 14:59 |
| Solution found | Matthias Arndt | 05/29/09 11:51 |
SDCC Linker problem with CMON51 | Yathish Kumar.N.S | 06/19/09 08:29 |



