Re: Converting a set of static libraries
Re: Converting a set of static libraries
- Subject: Re: Converting a set of static libraries
- From: Jonas Maebe <email@hidden>
- Date: Tue, 22 Aug 2006 10:16:02 +0200
On 21 aug 2006, at 23:36, Turtle Creek Software wrote:
mkdir fooobj
cd fooobj
ar x ../libfoo.a
gcc -dynamiclib -o ../libfoo.dylib *.o -install_name /usr/local/lib/
libfoo.dylib
cd ..
rm -rf fooobj
I was drinking liquid when I read the above, and unfortunately
had to clean it off the screen! I guess some part of my brain
accidentally read it out loud, and found it rather like Dr. Seuss.
To be honest, I don't know of a single IDE which is able to convert
compiled static libraries into dynamic libraries using the GUI.
Normally if you want to do that, you'll be told to get the source and
recompile it into a dynamic library (which can be perfectly done
using the GUI in Xcode or any other IDE). In fact, it's possible the
above won't even work in case the static library has been compiled
without PIC code.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden