[R-SIG-Mac] i don't know

Jan de Leeuw deleeuw at stat.ucla.edu
Sun May 21 05:39:21 CEST 2006

Frustrated by mprobit I changed these flags in Resources/etc/Makeconf

SHLIB_CXXLDFLAGS = -flat_namespace -bundle -undefined suppress - 
Xlinker -m
SHLIB_FCLDFLAGS = -flat_namespace -bundle -undefined suppress - 
Xlinker -m
SHLIB_LDFLAGS = -flat_namespace -bundle -undefined suppress -Xlinker -m

So I added "-Xlinker -m" at the end. This changes errors to warnings  
when linking
a bundle with a flat namespace and with multiple definitions of the  
same symbol
in different files.

May not be wise but is usually harmless. Ultimately bundles should have
two-level namespaces. And/or package writers should define once and  
extern elsewhere.

Jan de Leeuw; Distinguished Professor and Chair, UCLA Department of  
Editor: Journal of Multivariate Analysis, Journal of Statistical  
US mail: 8125 Math Sciences Bldg, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
.mac: jdeleeuw ++++++  aim: deleeuwjan ++++++ skype: j_deleeuw
homepages: http://gifi.stat.ucla.edu ++++++ http://www.cuddyvalley.org
           No matter where you go, there you are. --- Buckaroo Banzai

More information about the R-SIG-Mac mailing list