alexPec 6 July 15, 2010 Posted July 15, 2010 (edited) · Report post Стал компилировать проект - в линкере вышла ошибка - 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 July 15, 2010 by alexPec Quote Share this post Link to post Share on other sites More sharing options...
vadimuzzz 0 July 15, 2010 Posted July 15, 2010 · Report post в настройках System Library галки лишние поснимайте + конфигурация релиз для нее. в шаблоне "hello world" сверху шапка есть с советами по уменьшению объема кода Quote Share this post Link to post Share on other sites More sharing options...
alexPec 6 July 15, 2010 Posted July 15, 2010 · Report post в настройках System Library галки лишние поснимайте + конфигурация релиз для нее. в шаблоне "hello world" сверху шапка есть с советами по уменьшению объема кода СПАСИБО! Попробую... Quote Share this post Link to post Share on other sites More sharing options...