2011-06-20 01:53 PM
Hello everyone,
I've got problem with compilation of my application Running Linker clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\stvd_project.sm8 -mDebug\stvd_project.map Debug\stvd_project.lkf #error clnk Debug\stvd_project.lkf:1 segment .bsct size overflow (296) #error clnk Debug\stvd_project.lkf:1 segment .ubsct size overflow (10) The command: ''clnk -l''C:\Program Files\COSMIC\CXSTM8_16K\Lib'' -o Debug\stvd_project.sm8 -mDebug\stvd_project.map Debug\stvd_project.lkf '' has failed, the returned value is: 1 exit code=1.Is there anyone that can help with this problem?
Thank you in advance.
2011-06-20 03:04 PM
Have you tried looking up .bsct and .ubsct in the Cosmic manual?
2011-06-21 07:54 AM
okelm
First thing see my response to Nico on Memory use and allocation. .bsct & .ubsct are zero page sections & there is only 256 bytes available there. You should check your memory model. I suspect that you're using ''Short Stack (+mods0)'' This model's default variable placement is into the zero page. I would suggest using ''Long Stack (+modsl0)''. This memory model will place all variables into the .data & .bss segments which should give you about 1.5K bytes for your variables. jdf2011-06-29 03:07 PM
ok, thanks ;] problem solved