hoffmann@ehmgs2.et.tu-dresden.de
2001-Apr-02 07:22 UTC
[Rd] aclocal.m4: R_PROG_F77_CC_COMPAT assumes executables w/o extension (PR#890)
Full_Name: Thomas Hoffmann Version: 1.2.2 (and older) OS: HP-UX, OS/2 Submission from: (NULL) (141.30.125.20) The test defined in AC_DEFUN([R_PROG_F77_CC_COMPAT] (aclocal.m4:342) produces an executable using (in line 393) if ${CC-cc} ${LDFLAGS} ${MAIN_LDFLAGS} -o conftest conftest.o \ .... This fails on systems that use an extension for executables, which can be used via $ac_exeext in configure files. So it should read instead if ${CC-cc} ${LDFLAGS} ${MAIN_LDFLAGS} -o conftest$ac_exeext conftest.o \ .... -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Kurt Hornik
2001-Apr-06 19:40 UTC
[Rd] aclocal.m4: R_PROG_F77_CC_COMPAT assumes executables w/o extension (PR#890)
>>>>> hoffmann writes:> Full_Name: Thomas Hoffmann > Version: 1.2.2 (and older) > OS: HP-UX, OS/2 > Submission from: (NULL) (141.30.125.20)> The test defined in AC_DEFUN([R_PROG_F77_CC_COMPAT] (aclocal.m4:342) produces > an executable using (in line 393)> if ${CC-cc} ${LDFLAGS} ${MAIN_LDFLAGS} -o conftest conftest.o \ ....> This fails on systems that use an extension for executables, which can be > used via $ac_exeext in configure files. So it should read instead> if ${CC-cc} ${LDFLAGS} ${MAIN_LDFLAGS} -o conftest$ac_exeext > conftest.o \ ....Correct in theory, but is this a problem in practice? Currently the configure mechanism is only used on Unix, and I am not aware of a Unix system which uses an extension for executables ... -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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._