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 agoHi Lanzones
In .bashrc you have to put only the path to binaries toolchain all the rest is just a script stuff to compile the kernel. You have to keep on mind the toolchain prefix, in my case is "nios2-linux-", so the compiler call is nios2-linux-gcc. In your case it seems to be "nios2-linux-uclibc-". We have different toolchains, so you should modify the path I give you as exemple in order to have correct binaries path in your toolchain.