[Rd] darwin build with latest gcc from apple

Jan de Leeuw deleeuw at stat.ucla.edu
Thu Sep 4 16:49:35 MEST 2003


This is on Panther B53

cabledoc92:Developer/R/R-devel] deleeuw% gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1492)

[cabledoc92:Developer/R/R-devel] deleeuw% g77 -v
Reading specs from /usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/specs
Configured with: '../gcc/configure' '--enable-threads=posix  
'--enable-languages=c,f77
Thread model: posix
gcc version 3.4 20030828 (experimental)

[cabledoc92:Developer/R/R-devel] deleeuw% uname -a
Darwin cabledoc92.frazmtn.com 7.0.0 Darwin Kernel Version 7.0.0: Tue  
Aug 26 12:45:49 PDT 2003; root:xnu/xnu-493.obj~1/RELEASE_PPC  Power  
Macintosh powerpc

It seems I can get rid of FPICFLAGS -fno-common and CPPFLAGS  
-D__DEBUGGING__

If you do not use -lcc_dynamic as LDFLAGS it cannot find restFP and  
saveFP.
/usr/lib/libcc_dynamic.a is a soft link to  
/usr/lib/gcc/darwin/3.3/libgcc.a
which does contain these symbols.

By the way, the symbols are not in  
/usr/local/lib/gcc/powerpc-apple-darwin6.6/3.4/libgcc.a

Also, configure tests if saveFP is in libcc_dynamic.a, and says it  
isn't.

On Sep 4, 2003, at 14:38 , Stefano Iacus wrote:

> we are trying to adapt the configure in order to work with latest  
> gcc3.3 (from apple) and g77 3.4 (from  
> http://gravity.psu.edu/~khanna/hpc.html )
> At the moment there is no need to define the __DEBUGGING__ but there  
> is still a problem with the -lcc_dynamic
>
> does any of you know how to check for this library and explain why we  
> see -lcc_dynamic often passed as an ld flag.
> Where to find doc on this?
>
> stefano
>
> ______________________________________________
> R-devel at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
Editor: Journal of Multivariate Analysis, Journal of Statistical  
Software
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://gifi.stat.ucla.edu
   
------------------------------------------------------------------------ 
-------------------------
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://gifi.stat.ucla.edu/sounds/nomatter.au



More information about the R-devel mailing list