Forum Discussion
Altera_Forum
Honored Contributor
20 years agoFor build0207, add a line at 117 of build_nios2/staging_dir/lib/elf2flt.ld ,
There is no need to rebuild buildroot.--- build_nios2/staging_dir/lib/elf2flt.ld 2006/03/08 02:10:19 1.1
+++ build_nios2/staging_dir/lib/elf2flt.ld 2006/03/08 02:21:44
@@ -114,6 +114,7 @@
*(.dynsbss)
*(.sbss)
*(.sbss.*)
+ *(.gnu.linkonce.sb*)
*(.scommon)
*(.dynbss)
*(.bss) helloworld.cxx #include <iostream>
int main(int argc, char *argv)
{
std::cout << "Hello, world\n";
return 0;
} nios2-linux-uclibc-c++ helloworld.cxx -o helloworld -elf2flt="-s 64000" compiled and linked, but reboot when running on nios2 uclinux. Maybe I add the tag to the wrong place?