Forum Discussion
Altera_Forum
Honored Contributor
16 years ago(Eclipse) How to add directories to GCC include path
Hi, I'm trying to bring some existing code into a program that relies on the GCC compiler finding include files in other project include directories For example x/x.c says: # include "my...
Altera_Forum
Honored Contributor
16 years agoWhat version of the tools are you using? If you are using the Nios II IDE, you can simply add the -I option to the compiler flags. Open the software project's properties then click "C/C++ Build" on the left. Then under "Nios II Compiler" click the "General" section. The top entry is for compiler flags. Here you can put in any gcc compiler flags (like -I)
Jake