Altera_Forum
Honored Contributor
20 years agoBuilding Linux application
Not sure if I should have put this under "Software discussion" or not, but here goes:
I'm trying to build a Linux application using Altera's NIOS-II IDE with Microtronix plugin. The program will be run under uCLinux, of course. =] I have all the source and header files under the project already. Now it's time to build it. Then I found out I had to create my own makefile. So I did, a simple one. It just goes through all the directories and compile the source code with the right# include directories (for header files, and things like POSIX thread). However, it didnt work, and I found out from the Microtronix's example Makefile that it looks rather different from a regular makefile. (i.e. it includes things like Rules.mak) So, I just wanted to at least get the program to compile. So I instead used Altera's project -> managed library project. Then I got it to compiled, because it automatically created the makefile, and all I had to do was supply the right# include directories under the Project options -> Preprocessor stuff. Umm..as a newbie, I'm not sure about how to go on. I need some sort of guide on how to create the makefile specifically for the Microtronix Linux app. Could anyone shed lights please? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif