- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: aCC -l, which library is choosen by default? ....
Operating System - HP-UX
1758032
Members
2279
Online
108866
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 07:35 AM
тАО07-24-2002 07:35 AM
aCC -l, which library is choosen by default? .sh or .a
Hi all,
The aCC documentation says that Arguments of the form -lx cause the linker to search the library libx.sl or libx.a in an attempt to resolve currently unresolved external references...
Which one is chosen if both files are present in the /usr/lib directory?
I am a bit confused :-/
Thanks for any help :-D
Cyrille
The aCC documentation says that Arguments of the form -lx cause the linker to search the library libx.sl or libx.a in an attempt to resolve currently unresolved external references...
Which one is chosen if both files are present in the /usr/lib directory?
I am a bit confused :-/
Thanks for any help :-D
Cyrille
cyrille_favreau
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 07:41 AM
тАО07-24-2002 07:41 AM
Re: aCC -l, which library is choosen by default? .sh or .a
I cant say for sure, but I always thought it was .sl first
Im from Palmerston North, New Zealand, but somehow ended up in London...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 02:26 PM
тАО07-24-2002 02:26 PM
Re: aCC -l, which library is choosen by default? .sh or .a
The default is to use a shared library if both a shared and an archive library are found in the same directory. Ld won't look in additional directories for a shared library if it finds an archive library in the search path.
You can modify the behavior with the ld -a option (or -Wl,-a, for passing through a compiler). See "man ld" for a discussion of
archive, shared, archive_shared, and shared_archive search orders.
You can modify the behavior with the ld -a option (or -Wl,-a, for passing through a compiler). See "man ld" for a discussion of
archive, shared, archive_shared, and shared_archive search orders.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2002 11:27 PM
тАО07-24-2002 11:27 PM
Re: aCC -l, which library is choosen by default? .sh or .a
Thanks for your help guys!! Really appreciated :-D
cyrille_favreau
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP