- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 link an application to it. The linker never seems to find the library.a file, no matter what path, absolute or relative, we specified. Thanks, a lot in advance.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi 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- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Scott!
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