Jump to content
    

8кБ мало для hello world small?

Стал компилировать проект - в линкере вышла ошибка -

Linking hello_world_small_0.elf...

/cygdrive/c/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: region onchip_memory2_0 is full (hello_world_small_0.elf section .text). Region needs to be 4792 bytes larger.

/cygdrive/c/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rodata [00000020 -> 00000047] overlaps section .exceptions [00000020 -> 000001c7]

/cygdrive/c/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .rwdata [00000048 -> 000009f3] overlaps section .exceptions [00000020 -> 000001c7]

/cygdrive/c/altera/81/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.6/../../../../nios2-elf/bin/ld: section .bss [000009f4 -> 00000c07] overlaps section .text [000001c8 -> 000032b7]

 

Проект hello world small, ничего не менял. В системе только он-чип рам на 8192 байт. Где то видел на форуме эту проблему - найти не могу, кто знает-ткните пожалуйста в топик или подскажите. Неужто этот small только в 12 кб улезет??? Ведь не бывает такого...

Edited by alexPec

Share this post


Link to post
Share on other sites

в настройках System Library галки лишние поснимайте + конфигурация релиз для нее. в шаблоне "hello world" сверху шапка есть с советами по уменьшению объема кода

Share this post


Link to post
Share on other sites

в настройках System Library галки лишние поснимайте + конфигурация релиз для нее. в шаблоне "hello world" сверху шапка есть с советами по уменьшению объема кода

СПАСИБО! Попробую...

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...