site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ltQxZbboTwehW2UH6zBPrsX8jipcvEQkONRqTx6nxPiqcl9Tazj2QUTqpApX5aE1OeT8DQFxAEcwqrj/fTMdH/kcNE1bnwhOXk4KY82ZNA/762khgwBuzcep98gok0R5jWDHXdHd5whhhZkui51YirU7jqVZH+0YckR9iamRC4Q=; Peter, Thank you. This works. Heidi --- Peter O'Gorman <peter@pogma.com> wrote:
On Mon, 2007-07-09 at 12:37 -0700, Heidi Zhou wrote:
Norm,
Thank you for the help.
Your suggestion works! Now, I extend my test program to generate a dynamic library. However, when I use g++ to link, I got the following error
$ g++ -g -Wall -dylib bin_osx/osServDarwin.o
Not -dylib, -dynamiclib. You probably want to set the install_name with -install_name too.
Peter
____________________________________________________________________________________ Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com