Forum Discussion
Altera_Forum
Honored Contributor
12 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: positio...
Altera_Forum
Honored Contributor
12 years agoHmmm...
1) Actually you can select 'little endian' on the Nios cpu hidden config menu - I don't know if it works. However the Avalon bus is big endian, so other things probably wouldn't be right - at best they would be confusing. 2) At a guess it is just difficult to get the code linked correctly. This seems to be a reason to make it difficult to select position independant code, but I can't think why it should be disabled completely. There might be people who are able to sort out the environment to make it work well enough for the code they need to compile.