Altera_Forum
Honored Contributor
14 years agocommand line nios2-elf-gcc query -newbie
Hi all, I've successfully compiled the source code for a video demo (written by someone else) under windows/cygwin.
However I'm now doing identically the same except on Ubuntu Linux nios command shell. The make fails to locate simple header files 'no such file or directory' - but the files are present and correct! nios2-elf-gcc -xc -etc... -etc... -c -Isrc/alt_video_display -Isrc/alt_ etc.. etc... Surely if the -I is correct for the correct folders, then the compiler must be able to locate the include files? I'm a newbie - is this use of -I correct for the folder ./src/alt_video_display? (the error occurs with several folders/files (same command is fine under cygwin)) The makefile was generated by a script written by the author - I cant see why it works with cygwin but fails on linux with such a simple fault. Any help appreciated, cheers, JB.