Forum Discussion
Altera_Forum
Honored Contributor
21 years agoCreating a code library
Hi: How could we create a code library so a customer could link it to his application having only the *.h and the *.a files? We created a managed library but we could not find a way to ...
Altera_Forum
Honored Contributor
21 years agoHi VLorenzo,
> but we could not find a way to link an application to it. > The linker never seems to find the library.a file, no matter what path, Make sure your pass the library path via the -L option, and the library via the -l option. Also, the library name should be something like "libxxx.a", and when using the -l option: "-lxxx". Regards, --Scott