Forum Discussion
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by hippo@Mar 7 2006, 05:06 PM 1. what's the link error messages now with libstdc++? --- Quote End --- The error messages say: "overlaps section...."
nios2-linux-uclibc-g++ hello.cpp -o hello -elf2flt
/home/hootsmon/buildroot/build_nios2/staging_dir/bin-ccache/../lib/gcc/nios2-linux-uclibc/3.4.5/../../../../nios2-linux-uclibc/bin/ld.real: section .gnu.linkonce.sb._ZGVNSt7collateIcE2idE overlaps section .text
/home/hootsmon/buildroot/build_nios2/staging_dir/bin-ccache/../lib/gcc/nios2-linux-uclibc/3.4.5/../../../../nios2-linux-uclibc/bin/ld.real: section .gnu.linkonce.sb._ZGVNSt8messagesIcE2idE overlaps section .text --- Quote Start --- originally posted by hippo+mar 7 2006, 05:06 pm--><div class='quotetop'>quote (hippo @ mar 7 2006, 05:06 pm)</div> --- quote start ---
can you link to elf without -elf2flt flag?[/b]
--- quote end ---
yes, compiling --> elf works fine
<!--quotebegin-hippo@Mar 7 2006, 05:06 PM try nios2-linux-uclibc-nm hello | sort --- Quote End --- OK, I did this. Here are the symbols (compiled without -elf2flt).... http://users.bigpond.net.au/hootsmon/temp/sysmbols.txt (http://users.bigpond.net.au/hootsmon/temp/sysmbols.txt)