Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making dynamic libraries with gcc



Thanks, the original poster did already make that clear.  :-)

On Jan 26, 2004, at 3:30 AM, Michael Maibaum wrote:

On 23 Jan 2004, at 20:10, Daniel Macks wrote:

On Fri, Jan 23, 2004 at 11:19:32AM -0800, Rich Cook wrote:
On Jan 23, 2004, at 7:33 AM, Chris Scharver wrote:

<http://fink.sourceforge.net/doc/porting/shared.php>

Once you modify your build tools to use the proper compiler flags,
then you'll be able to load the modules pretty easily. Panther
includes dlopen() automatically. On earlier systems you'll need to
install libdlcompat.

[...] how do I install libdlcompat? Is this a fink module?

Under OS X 10.1 or 10.2, install the fink 'dlcompat' package. Remember to pass -I/sw/include and -L/sw/lib (assuming your fink is in /sw) and you also may have to pass -ldl if your configure scripts don't know to look for it.


and, just to be clear, Panther *includes* dlcompat already.

Michael
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.



--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-451 Rm-2043, Mail Stop L-561
7000 East Avenue, Livermore, CA, 94550, USA
phone (925) 423-9605 (work) fax (925) 423-8704
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.

References: 
 >making dynamic libraries with gcc (From: Rich Cook <email@hidden>)
 >Re: making dynamic libraries with gcc (From: Chris Scharver <email@hidden>)
 >Re: making dynamic libraries with gcc (From: Rich Cook <email@hidden>)
 >Re: making dynamic libraries with gcc (From: Daniel Macks <email@hidden>)
 >Re: making dynamic libraries with gcc (From: Michael Maibaum <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.