- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi!
I try to bundle some of my software-routines in a static library. At the end of the makefile all objects are combined by the command
ar r libxxx.a 1.o 2.o etc
This library is used with the -lxxxx obtion while linking.
This works fine, BUT:
Some of the programs are using modules for internal comunication. When using the library the linker complains if the file work.pc and the module directory files ".d" are missing in the actual directory where the application is build.
Manually copying these files to the directory works, but can't be the final solution.
Does anybody know, how to include this information in a library or a destination where they can be reached by the compiler?
Thanks in advance
Bye
Jan Blmer
(ifc 9.0 on Suse 9.3 )
I try to bundle some of my software-routines in a static library. At the end of the makefile all objects are combined by the command
ar r libxxx.a 1.o 2.o etc
This library is used with the -lxxxx obtion while linking.
This works fine, BUT:
Some of the programs are using modules for internal comunication. When using the library the linker complains if the file work.pc and the module directory files ".d" are missing in the actual directory where the application is build.
Manually copying these files to the directory works, but can't be the final solution.
Does anybody know, how to include this information in a library or a destination where they can be reached by the compiler?
Thanks in advance
Bye
Jan Blmer
(ifc 9.0 on Suse 9.3 )
Link Copied
0 Replies
![](/skins/images/DF2E495CEC88D713A66401CF495CD875/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page