| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Wednesday, June 18, 2003, at 11:41 PM, Daniel Dvorkin wrote:
Dumb question: is there a drop-in patched version for dl_dyld.xs available somewhere?
... I'm not quite sure if I understand all the changes it's making when I look at the existing dl_dyld.xs. (I'm a newbie, sorry.) Thanks!
I am similarly unsure of exactly what you want to do :)
However, I'll make some assumptions and propose this solution:
1) Make a copy of /System/Library/Perl/darwin/auto/DynaLoader/DynaLoader.a somewhere.
2) Edit your makefiles so that they link against this copy.
3) make a file (call it something like rmsym.txt) with two lines. "_dlclose" on one and "_dlsym" on the other.
4) run nmedit -R rmsym.txt /path/to/your/special/DynaLoader.a
5) make
You may have to run ranlib once or twice in there on your DynaLoader.a copy.
(of course, if you are just doing this for yourself, you could run nmedit on the system DynaLoader.a, but I suggest you don't)
| References: | |
| >Re: perl DynaLoader.a exports dlclose and dlsym. (From: "Peter O'Gorman" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.