Altera_Forum
Honored Contributor
11 years agoPosition Indepedent Code for Nios
Hello,
I was using Quartus 13.0sp1 and had no problem compiling a library project with the compiler option -fpic. I just switched to Quartus 13.1 and now I receive the error: error: position-independent code requires the Linux ABI Why is this happening? Also, when I try to use -mno-gpopt it says that the option is not recognized. In fact, none of my old projects work, with the error : nios2-elf-g++: error: unrecognized command line option '-EL' I don't even know what that option does, but why all of a sudden are flags that are automatically generated in the makefile from 13.0 not working in 13.1? Why is the compiler throwing errors all of a sudden? Do I have to switch back to an earlier version of Quartus? Thanks, Jonah