Altera_Forum
Honored Contributor
21 years agouser program #include problem
when we design Linux device drivers, we use kernel head files, such as# include <linux/fs.h>
While we design user programs, what is we can# include? 1. <quartus>/bin/cygwin/usr/include 2. <nios2>/bin/nios2-guntools/H-i686-PC-cygwin/nios2-elf/include We find first one has more *.h files than second. But we don't know when we compile the linux user program, which path dose it search? How can we do in "Makefile"? PS: why do the nios2linux plugs install cygwin in <quartus> directory "again"? nios2-elf-gcc has already in Nios2 IDE? What purpose is the cygwin/gcc ?