|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #54235] configure sets FPICFLAG to '-KPIC' on Solaris even with F77='gfortran' |
Date: | Mon, 2 Jul 2018 17:18:21 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #1, bug #54235 (project octave): The logic in configure.ac is shown below sparc-sun-sunos4*) if test $ac_cv_f77_compiler_gnu = yes; then FPICFLAG=-fPIC else FPICFLAG=-PIC fi SH_LD=ld SH_LDFLAGS="-assert nodefinitions" ;; sparc-sun-solaris2* | i386-pc-solaris2*) if test $ac_cv_f77_compiler_gnu = yes; then FPICFLAG=-fPIC else FPICFLAG=-KPIC fi if test "$GCC" = yes; then CPICFLAG=-fPIC else CPICFLAG=-KPIC fi if test "$GXX" = yes; then CXXPICFLAG=-fPIC SH_LDFLAGS=-shared else CXXPICFLAG=-KPIC SH_LDFLAGS=-G fi ## Template closures in archive libraries need a different mechanism. if test "$GXX" != yes; then TEMPLATE_AR="${CXX}" TEMPLATE_ARFLAGS="-xar -o" fi ;; Maybe have the original report run './configure -C' and then take a look at config.cache? On my computer, I have ac_cv_f77_compiler_gnu=${ac_cv_f77_compiler_gnu=yes} _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54235> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |