Altera_Forum
Honored Contributor
21 years agoAdvanced Compilation
Hi all,
I am building a system which compiles for both a x86 running Windows, and a NIOS-II "running" uC. The project consists of 3 parts, a core part, a Win32 part and a uC part. The core is totally platform independant while the Win32 part implements a couple of synchronization objects and a dialog application which creates an instance of the core, and perform some actions on it. The uC part does the same thing, except uC is used. To build a win32 version, I compile the core, and export the header files along with the object files to a directory. Then I build the windows specific classes / dialogs etc, and link it with the objects from the core. I then have a win32 executable. This works quite well. However using Eclipse hides a all the compilation stuff from me, all I get is an autogenerated makefile, and a MAKE -s ALL.. I want to be able to build the core, using the nios2-elf-gcc compiler in the same way that I build the Win32 project, but even the simplest of projects, seem to be a hassle to compile. Does anyone understand what I am talking about http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif , and if you do, please help me find a link that documents the build process more accurately than MAKE -s ALL.