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
14 years agoAlternatively I changed the Makefile in the application directory. There is an APP_INCLUDE_DIRS variable which I have set:
# List of application specific include directories, library directories and library names APP_INCLUDE_DIRS += <path1> APP_INCLUDE_DIRS += <path2> The Eclipse IDE recognizes the changes and shows the paths in Properties -> Nios II Application Properties -> Nios II Application Paths Jens