On Aug 27, 2006, at 3:43 PM, Peter O'Gorman wrote:
On Aug 28, 2006, at 6:48 AM, Eric Albert wrote:
On Aug 27, 2006, at 1:46 PM, Justin C. Walker wrote:
On Aug 27, 2006, at 13:30 , Eric Albert wrote:
On Aug 27, 2006, at 1:20 PM, Justin C. Walker wrote:
[snip]
It seemed like one, and I must have gotten lucky; after I
"cleaned up" and rebuilt, I now get this complaint:
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
/usr/bin/ld: -single_module or -multi_module flags can only be
used when -dylib is also specified
at a different spot in the build. Any thoughts? Should -
dynamic be -dylib?
Depends on what p_Procs_FieldZp.sog is. If it's a main
executable, you shouldn't be passing either -single_module or -
multi_module. If it's a dylib, you should be passing -dylib.
It appears to be a shared library, although its pretty arcane -
it includes something which is a sort of header file, which
redefines everything in sight, many times :-}
Do I replace -dynamic with -dylib?
If it's a shared library, yes.
-dynamiclib, since g++ is being used for linking.
Yep. I always get those two flags backwards....
-Eric
_______________________________________________
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