search for: nofor_main

Displaying 14 results from an estimated 14 matches for "nofor_main".

2000 Jun 23
1
MAINLD and SHLIBLD
I would like to always use ${CC} for linking the main binary and the shlibs. Inspection of configure.in reveals that we currently deviate in the following cases: mainld shlibld aix[2-9]* ld ld alpha*osf* ${FC} -g -nofor_main -fpe3 ${FC} hpux* ${CC} ld Does anyone recall why we do not use ${CC} in these cases? Did anyone successfully build R on these platforms with ${CC} for mainld/shlibld? (Inspection of ltconfig from libtool seems to indicate that ${CC} should be possible ...) -k -.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
1999 Apr 12
3
Fortran vs C, easing using Fortran
...not sure if it does matter here, but the only way to build R on my > Alphas currently is using Fortran as LDCMD: > > in config.site: > LDCMD="f77 " > > SHLIBLD is "ld -shared -expect_unresolved '*'". I would have expected LDCMD=f77 LDFLAGS="-g -nofor_main -fpe3" SHLIBLD=ld SHLIBLDFLAGS="-shared -expect_unresolved '*'" as the way to encode that. Now my question amounts to Does SHLIBLD=f77 work with those SHLIBLDFLAGS? If not, can SHLIBLDFLAGS be modified to make it work? Brian -- Brian D. Ripley, ripley@s...
1998 Jun 30
1
No subject
I am trying to make the R-0.62.1 distribution on a DEC alpha running Digital Unix 3.2d. I have run into a few problems..... (1) the Makefile in src/graphics need to have INCLUDES= -I../include not -I ../include (2) I have the standard DEC fortran 90 compiler which needs to link R.binary with a -nofor_main flag. The appropriate slot in config.site appears to be ignored, which means Makeconf itself has to be edited. However in Makeconf LDFLAGS appears to be ignored too, so one just has to make do with LDCMD=f90 -nofor_main (3) The last problem has completely stumped me. The make goes OK until . . . R...
1999 Aug 19
1
bug: R says "Floating exception" on DEC-Alpha w/OSF1 (PR#252)
...compile the R.binary. It reports the following: f77 -o ../../bin/R.binary {*** for brevity, I've deleted the filenames printed here ***} ld: ../unix/libunix.a(system.o): main: multiply defined fort: Severe: Failed while trying to link. I got around this by adding the "-nofor_main" option to the compile statement in the Makefile in ../src/main directory. Thus, make issues the command: f77 -nofor_main -o ../../bin/R.binary {*** again, deleted printed filenames ***} That allowed the compilation to complete smoothly. However, when I tried to run R, I got the follow...
2006 Mar 22
1
Double complex with gcc and Intel v9 Fortran (PR#8699)
...uration script finds that the C and Fortran idea of double comples disagree. I have tried to extract the test used for this from m4/R.m4 (a slightly modified version of the two test files is added at the end). When compiling ifort -c ctest.f gcc -c cftest.c and linking properly, ifort -nofor_main cftest.o ctest.o -o runme running the executable gives the following output: ./runme 123.456000 14.710644 0.000000 -0.000006 To me, this inicates that the test should actually be passed successfully. Unfortunately, I haven't quite understood how to rebuild the configure.ac etc once R.m4...
1998 Sep 11
2
R-beta: compiling problems under DU4.0D
I've down loaded R version 0.62.3 . After packing it out on my Digital personal workstation running DU4.0D i configure using the command "R_PRINTCMD=ppr CC=cc CFLAGS="-O" PERL=/local/bin/perl5 ./configure --prefix=/local/math" after this I'm trying to make the package and issue the command "make" at the end of this process I get the following error:
1998 Jul 01
4
R-beta: R-0.62.1 under Digital Unix
...62.2 I have so far needed to (a) edit the Makefile in src/graphics, as mentioned in my previous email (b) edit the config.site to give a -fpe3 flag to the DEC f90 compiler (this is more a precaution in case of fp exceptions in the fortran code) (c) edit the Makeconf file to explicitly give "-nofor_main -fpe3" flags to f90 in LDCMD (because it doesn't seem to be accepted when put in config.site) (d) install GNU install (suggested by Douglas Bates) this then produces a successful "make" Following my previous practice I then make a symbolic link to R from /usr/local/bin. Howeve...
2000 Feb 08
0
configure doesn't accept f77 on alpha (PR#419)
...case ${host} in + alpha*osf*) + if test -z "${G77}"; then + # DEC fortran "f77 -c" creates only a MAIN__ symbol and + # the "main" symbol is inserted by linking with "f77" + # (unless called with -nofor_main), so linking with + # cc would need /usr/lib/cmplrs/fort/for_main.o explicitely, + # but adding this to FLIBS would break the final linking step + # inserting "main" twice. So suppress ld's error message + # about unresolved "m...
1999 Mar 15
0
R 68.3 on OSF V4.0 problems SOLVED
...c with DEC F77; we do not have g77)' : '(Need GNU make, DEC make fails in several respects)' cp -ip config.site config.site.bak <&- >&- 2>&- cat <<EOF >> config.site CC=/usr/bin/cc CFLAGS='-g3 -O' FC=/usr/bin/f77 FFLAGS='-g3 -O' DLLFLAGS=-nofor_main MAKE=gmake EOF ./configure : : 'Fix some bugs:' : : 'Will get compiler warnings:' : ' In this statement, the expression "j=++j%k" modifies the variable "j" more' : ' than once without an intervening sequence point. This behavior is undefined.'...
1999 Nov 13
0
patches for alpha
...MSG_ERROR and it works. There is actually no PIC flag for DEC cc (with DU 4.0E) --- ./configure.in.alpha-patch Mon Aug 23 06:36:28 1999 +++ ./configure.in Sun Sep 12 17:38:27 1999 @@ -541,7 +541,9 @@ -bI:\$(R_HOME)/etc/R.exp -lc -lm" ;; alpha*osf*) + ldcmd="f77 -g -nofor_main -fpe3 " cpicflags= + shlibld=f77 shlibldflags=-shared ;; alpha*linux) @@ -612,7 +614,7 @@ : ${CPICFLAGS=${cpicflags}} if test -z "${CPICFLAGS}"; then AC_MSG_WARN([Could not determine CPICFLAGS.]) - AC_MSG_ERROR([See the file INSTALL for more information.])...
1998 Nov 06
1
DEC alpha INSTALLATION R-0.62.4
Hi, Just downloaded the R-0.62.4 of R and tried to install it. With the standard procedure : ./configure make At the end of the compilation I got the following message : ld: ../lib/libunix.a(system.o): main: multiply defined fort: Severe: Failed while trying to link. *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1 Stop. I attach the printout after the ./configure and make
1999 Feb 09
3
Installing on 64-bit Dec or SGI
Hi all, The systems guys here in the stat dept don't seem to be able to compile R on the Dec Alphas or on the SGIs. Can anyone give them a hand? -Greg ------------------------------------------------------------------------------- Gregory R. Warnes | It is high time that the ideal of success warnes at biostat.washington.edu | be replaced by the ideal of service.
1999 May 03
0
compilation of R-0.63.3 on alpha (PR#183)
...unspecified, defaults to "-O2" for g77, and "" otherwise. FFLAGS=3D"-g -fpe3" # The command to be used to load the main R binary. # This is usually the FORTRAN or C compiler, but the automatic choice # can be overriden by means of this variable. LDCMD=3D"f77 -g -nofor_main -fpe3 " # For `-l' and `-L' options to pass to the linker. # LIBS=3D # The flags which are necessary for loading main program which will load # DLLs at runtime. HP-UX and Linux-elf are examples of platforms which # use this. These platforms are already taken care of by configure. #...
1999 May 03
1
problems compiling R-0.63.3 on alpha
...src/include -c summary.c -o summary.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c unique.c -o unique.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c util.c -o util.o gcc -ieee_with_inexact -g -I../include -I../../src/include -c version.c -o version.o f77 -g -nofor_main -fpe3 -o ../../bin/R.binary arithmetic.o array.o attrib.o bind.o builtin.o character.o coerce.o colors.o complex.o context.o cov.o cum.o debug.o deparse.o deriv.o devices.o dotcode.o dstruct.o duplicate.o envir.o errors.o eval.o format.o fourier.o gram.o graphics.o iosupport.o list.o logic.o...