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: Trouble with underscores



On Monday, October 28, 2002, at 09:47 AM, Sean Hinde wrote:


This all works fine with Linux/Solarix etc (using dlsym etc). Does anyone have any further suggestions?


I recommend getting rid of your custom dlopen/dlsym compatibility code and using the dlcompat library which implements dlopen/dlsym compatibility routines for you. No reason to reinvent the wheel here. It even has an option to prepend underscores for you if you need that.


You can download dlcompat at http://sourceforge.net/projects/fink/ . You can include the .c file directly in your project if you want to minimize dependencies, or just steal the code yourself, use it as a guideline, whatever. :)

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



References: 
 >Trouble with underscores (From: Sean Hinde <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.