Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
12748 Discussions

create independant library under IDE

Altera_Forum
Honored Contributor II
1,170 Views

Hi all, 

How can I compile a C library source files under the Nios II IDE? 

I have the sources and the includes and I want to build the libray (files like *.a). 

Best regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
457 Views

Hi 

Just go in Altera system manage library and make a *.a (static library). It is independent of *.ptf  

 

Now create your C/C++ application using your NIOS IDE and link the Library name and its path to the current project using Linker option under "C/C++ build" option. 

 

And you can get the help from NIOD IDE help also.... 

 

Best Regards, 

slsnios
0 Kudos
Altera_Forum
Honored Contributor II
457 Views

Hi, 

 

You can create a "Managed Library Project" in NiosII IDE. 

Following the steps below: 

1.New a project 

2.Choose Altera NiosII->Managed Library Project 

The more info pls find in NiosII IDE->Help->Help Content, and search with the key word "Managed Library".
0 Kudos
Reply