Forum Discussion
Altera_Forum
Honored Contributor
9 years agoHi,
--- Quote Start --- Recently I'm finally successfully booted uClinux into DE2-115. Now I want to change a project from using Nios II Software Build Tools for Eclipse into uClinux. Before I do this, I would like to try to add a simple project which previously built in Eclipse as well into uClinux. However, when I try to compile the code using nios2-linux-uclibc-gcc hello_world.c -o hello -elf2flt, it give an error : no such file or directory. Then I try to locate the the header file that I need and write the full location of the header file in the program as shown in the code below. However, even after I write the full location, it still gives error. The header file that I included, did include other header file and it cannot be found automatically as well. --- Quote End --- You can instruct the header file search path by the compiler switch -I"search path". Please refer to the manual of GCC. But maybe, I think you are using uClinux without MMU. If you want to use Bluetooth applications, I recommend you to install genuine Linux with MMU. Kazu