Forum Discussion
Altera_Forum
Honored Contributor
14 years agounable to link an executable image
Hi, I'm jus triying to compile and link a simple "hello world" application with gcc nios2-linux-gnu-gcc (version 4.1.2) but gcc does not reconize -elf2flt parameter as we can see in the compi...
Altera_Forum
Honored Contributor
14 years agothanks dsl
I found that a little complicated. I think, I've better to use an older toolchain (gcc version 3.4.6) that accept -elf2flt parameter. I run nios2-linux-gnu-gcc hello.c -o hello2 -elf2flt and it works. I wonder why gcc 4.1.2 doesn't accept that. thanks