From: 谢继雷 <xj...@99...> - 2010-07-17 05:36:19
|
On 2010-7-17 13:27, 谢继雷 wrote: > Check out the code: > svn://svn.bodz.net/usnap/miadev/trunk (user/passwd = miadev) > > 1. cd arch/cos51; make > 2. cd test/cos51; make debugunit_m.bin > > See the output: > > > $ sdcc -c --std-c99 -I../../arch --model-medium -o debugunit_m.rel > debugunit.c > > $ sdcc --model-medium --iram-size 0x100 --code-size 0x2000 > --xram-size 0x200 debugunit_m.rel ../../lib/cos51medium.lib > > > > ?ASlink-Warning-Byte PCR relocation error > file module area offset > > > What's PCR relocation? I've renamed debug to sysmon, and debugunit to sysmontest. The commands should be: make -C arch/cos51 make -C test/cos51 sysmontest_m.bin |