• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Converting a set of static libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting a set of static libraries


  • Subject: Re: Converting a set of static libraries
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Tue, 22 Aug 2006 07:54:51 +0900


On Aug 22, 2006, at 6:36 AM, Turtle Creek Software wrote:

gcc -nostdlib -dynamiclib -o libfoo.dylib -all_load libfoo.a  -
lSystem -install_name /usr/local/lib/libfoo.dylib

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.

I'm sure all the above makes perfect sense to those who are deeply
imbedded in XCode programming, but it reminded me of the many arguments
I had with MS-DOS folks 20 years ago, when the Mac was young, and the
norm was to type -del *.* rather than drag
something to the trash can or recycle bin.

The above has little or nothing to do with using the xcode GUI, which as far as I know is perfectly capable of accomplishing the same tasks as codewarrior without ever having to open a terminal window.


Peter


_______________________________________________ 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
References: 
 >Re: Converting a set of static libraries (From: Turtle Creek Software <email@hidden>)

  • Prev by Date: Re: Converting a set of static libraries
  • Next by Date: Re: *** file inconsistency: read 'I', expecting 'L'
  • Previous by thread: Re: Converting a set of static libraries
  • Next by thread: Re: Converting a set of static libraries
  • Index(es):
    • Date
    • Thread