Forum Discussion
Altera_Forum
Honored Contributor
20 years agoAdd software library into system library
Hi, I have create several managed libraries with NIOS IDE and want then to be compiled and integrate into the system library of my design to have them available while compiling the system drivers....
Altera_Forum
Honored Contributor
20 years agoYou could just copy the source into the system library project. Alternatively, instead of linking against your library using the -l flag, e.g. -lmylib to link against libmylib.a, use the flag -msys-lib, e.g. -msys-lib=mylib. This will allow the linker to resolve the circular dependency problems that I suspect you were having when trying to call library functions from drivers.