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 agoI can't see where gcc 3.4.6 supports it, the copy I have doesn't.
Possibly something is using that parameter to set the OUTPUT_FORMAT outside the linker script - but I can't see a command line parameter to ld that would do that. For flexibility (and to know what is actually being done) it is best to run objcopy yourself.