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: -multi_module problem



Justin C. Walker wrote:

On Aug 27, 2006, at 21:04 , Peter O'Gorman wrote:
On Aug 28, 2006, at 12:41 PM, Justin C. Walker wrote:
[snip]
libtool -dynamic. Don't you love that g++ -dynamiclib calls libtool -dynamic which, in turn, calls ld -dylib. Makes things so easy to remember :/

This is getting to be way too much fun. I feel like I'm in a maze of twisty little passages, all alike.


Any thoughts about this nit?

g++ -g -pipe -fpic -DPIC -dynamic -single_module -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup p_Procs_Lib_FieldZp.dl_og -o p_Procs_FieldZp.sog

You seem to be trying to build a dynamic library here, so g++ needs -dynamiclib, not -dynamic. But see my other post. You don't really want to do all this.


As to why this stuff is in the Singular sources, well, they had to fill in some variables for the darwin case in configure.in, so they did something like

SLDFLAGS="-dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup"
LD=libtool


This doesn't mean anyone tested this and confirmed that it works. It doesn't really make much sense. I doubt if the guy who wrote this knows about dylibs and bundles on MacOSX.

--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden
References: 
 >-multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Peter O'Gorman" <email@hidden>)
 >Re: -multi_module problem (From: Eric Albert <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)
 >Re: -multi_module problem (From: "Peter O'Gorman" <email@hidden>)
 >Re: -multi_module problem (From: "Justin C. Walker" <email@hidden>)



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.