Skip to content
Prev 8053 / 63424 Next

gcc and g77 combos

Jan,

Thanks for the update, and the additional info.

The test that fails is AC_F77_DUMMY_MAIN, one of the standard Autoconf
tests, required in particular to determine the kind of Fortran name
mangling.  So yes, it is necessary.

The failure seems to come from the fact that when trying to determine
the dummy main to link with the Fortran 77 libraries, all efforts fail
along the lines of

configure:14562: gcc -o conftest -g -O2 -I/sw/include -I/usr/local/include -L/sw
/lib -L/usr/local/lib conftest.c -lreadline -ldl -lncurses -lm   -lcrtbegin.o -L
/sw/lib -L/usr/local/lib -L/sw/lib/gcc-lib/powerpc-apple-darwin6.0/3.1 -L/sw/lib
/gcc-lib/powerpc-apple-darwin6.0/3.1/../../.. -lreadline -ldl -lncurses -lm -lfr
tbegin -lg2c -lSystem >&5
ld: multiple definitions of symbol ___darwin_gcc3_preregister_frame_info
/sw/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/crtbegin.o definition of ___darwin_g
cc3_preregister_frame_info in section (__TEXT,__text)
/sw/lib/gcc-lib/powerpc-apple-darwin6.0/3.1/crtbegin.o definition of ___darwin_g
cc3_preregister_frame_info in section (__TEXT,__text)
but I think we already looked into this and found frtbegin to be the bad
guy?

Best
-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._