Forum Discussion
Altera_Forum
Honored Contributor
21 years agoBuilding libraries with Eclipse
Has anybody tried building a simple library for use with a NIOS IDE project? - I have a bunch of application code that I'd prefer to use as a library rather than have it included in every a...
Altera_Forum
Honored Contributor
21 years ago<div class='quotetop'>QUOTE </div>
--- Quote Start --- Others have. Scan previous topics. People discuss things they have run into, tips and tricks.[/b] --- Quote End --- Yes, this is a newsgroup. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wink.gif But, I haven't found anything useful about how to build a makefile to link a library for NIOS. One useful comment about the required bizarre name prefix for the mangled make manager, and that's it. My options seem to be: a: a library built outside the NIOS IDE. b: An 'advanced c/c++ project' built within the IDE. This seems to be deprecated. c: Some kind of additional "HAL" module, which just pushes my code into the system library. 'a' seems the only sensible one, because at least it stops the IDE make system from getting in the way of everything. If I succeed with what I'm doing, I'll post an example makefile... - Roddy