.bsct size overflow (discovery, cosmic)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-06-20 1:53 PM
Posted on June 20, 2011 at 22:53
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.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-06-20 3:04 PM
Posted on June 21, 2011 at 00:04
Have you tried looking up .bsct and .ubsct in the Cosmic manual?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-06-21 7:54 AM
Posted on June 21, 2011 at 16:54
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. jdfOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-06-29 3:07 PM
Posted on June 30, 2011 at 00:07
ok, thanks ;] problem solved
