Forum Discussion
Altera_Forum
Honored Contributor
20 years agoThanks, I tried out your elf2flt_ld script. I didn't patch it. Now the linker is getting some undefined references....
nios2-linux-uclibc-g++ hello.cpp -o hello -elf2flt="-s 64000"
hello.elf2flt(.text+0xc964): In function `__uClibc_fini':
: undefined reference to `__fini_array_start'
hello.elf2flt(.text+0xc968): In function `__uClibc_fini':
: undefined reference to `__fini_array_start'
hello.elf2flt(.text+0xc96c): In function `__uClibc_fini':
: undefined reference to `__fini_array_end' I didn't try to execute it, 'cos it would probably crash anyway. Any thoughts?