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
darwin build with latest gcc from apple
3 messages · stefano iacus, Jan de Leeuw
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@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@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
R-devel configs and build fine on both configurations below. It would be nice to test it on Panther eventually. A great thank goes from my side to Kurt for this configure version. I configure with: ./configure --enable-R-shlib --with-blas='-framework vecLib' --with-lapack --with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh --with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh --with-aqua and you should eventually change the tcl/tk config files configs: Apple DevTools dec2002 (gcc 3.1) and g77 from Khanna's hp [srv-dipeco2:~/r-devel/MacOSX-inst] iacus% gcc -v Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease) [srv-dipeco2:~/r-devel/MacOSX-inst] iacus% g77 -v Reading specs from /usr/local/lib/gcc-lib/powerpc-apple-darwin6.1/3.1/specs Configured with: ../gcc3-1151/configure --enable-pfe --disable-nls --enable-threads=posix --enable-languages=f77 Thread model: posix Apple Computer, Inc. GCC version 1151, based on gcc version 3.1 20020420 (prerelease) and Apple udpate for DevTools dec2002 (gcc 3.3) and g77 v3.4 from Khanna's hp [iacus1:~/r-devel/MacOSX-inst] stefano% 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 1435) [iacus1:~/r-devel/MacOSX-inst] stefano% 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) I'll update the instructions on the webpage for RAqua. stefano