Re: -multi_module problem
Subject : Re: -multi_module problem
From: "Justin C. Walker" <email@hidden >
Date: Sun, 27 Aug 2006 20:41:26 -0700
Delivered-to: email@hidden
Delivered-to: email@hidden
Thanks for all the help so far.
On Aug 27, 2006, at 16:10 , Eric Albert wrote:
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:
[snip]
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....
I'm flummoxed: Singular uses 'libtool'; should I rename this to
glibtool? I get this as a result of the "-dynamic" -> "-dynamiclib"
changes:
g++ -O3 -w -fomit-frame-pointer --no-rtti --no-exceptions -pipe -fno-
implicit-templates -I. -I/tmp/SingSing/include -DNDEBUG -DOM_NDEBUG -
DppcMac_darwin -DHAVE_CONFIG_H -fpic -DPIC -Dp_Procs_FieldZp -c
p_Procs_Lib.cc -o p_Procs_Lib_FieldZp.dl_o
libtool -dynamiclib -single_module -twolevel_namespace -
weak_reference_mismatches weak-undefined dynamic_lookup -o
p_Procs_FieldZp.so p_Procs_Lib_FieldZp.dl_o
libtool: unknown option character `d' in: -dynamiclib
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]]
[-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]]
[-arch_only arch] [-o output] [-install_name name] [-
compatibility_version #] [-current_version #] [-seg1addr 0x#] [-
segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]
[-noall_load]
I added the blank lines to improve readability - I'm not sure it
helps :-}
Justin
--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email
_______________________________________________
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
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.