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: Fwd: shared lib?



Daniel,

You are aware that you need to use "myshared.dylib", right? Darwin/OS X
ahve a different shared library extension.

Dan

On Thu, 26 Feb 2004, Daniel Oberhoff wrote:

> sorry, that meassage broke, so basically something like:
>
> g++ -dynamic (or -dylib) file1.0 file2.0 file3.0 ... -o myshared.so
>
> complains that there is no _main defined, well there shoulldnt be, its
> a lib, so whats thee problem? i know i could probably do it with
> libtool or ld directly, but i want to keep the magic linking of
> neccesary runtime stuff for c++ from g++ around, otherwise it will
> create a big mess and lotsa work in all the config and make files
> and....well, it should just work, no?
>
> daniel
>
> Begin forwarded message:
>
> > From: Daniel Oberhoff <email@hidden>
> > Date: February 25, 2004 7:38:06 PM CET
> > To: email@hidden
> > Subject: shared lib?
> >
> > i am trying to port berlin/freso (www.fresco.org) to osX panther. the
> > first problem was that
> >
> > PTHREAD_CANCELED
> >
> > vanished from pthread.h and the man pages. what does this mean? well i
> > will write test code sometime.
> >
> > but more importantly i am having trouble linking the shared libs. on
> > linux these are .so files, on darwin they should become dylibs afaik.
> > now something like
> _______________________________________________
> darwin-development mailing list | email@hidden
> Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.




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.