Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWhich stdio.h / stddef.h
Hi, Sorry this is a newbie-type (and long) question. The good: I am working in Nios II EDS 9.0 under Windows and Eclipse. I am able to do a printf in the main function of my build and see ...
Altera_Forum
Honored Contributor
16 years agoSlacker,
Thanks for your reply. I typed your suggested nios2-elf-gcc command and received the output in the gccNiosConfig.txt file. Some of the output does look odd, like all the nonexistent directories. For comparison purposes I ran the same command on a different PC which still has the 7.2 version of the Altera tool set installed (gccNios72Config.txt). The output looks similar to the 9.0 installation I have, which leads me to believe that the uninstall of 7.2 and install of 9.0 didn't create the problems I am having. The command actually hangs after you see "End of search list." so this didn't seem normal either. Ctrl-C gets you back to Cygwin... I looked into some of the directories listed at the end, and I don't find stdio.h, but I do find stddef.h in "/cygdrive/c/altera/90/nios2eds/bin/nios2-gnutools/H-i686-pc-cygwin/lib/gcc/nios2-elf/3.4.6/include". I'll try adding this to my RTRT build. I will also look into the software build tools option as you suggested. Cheers Tim