This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES


Am 30.07.2018 um 00:24 schrieb Darrell Reich via fortran:
Does anyone know what this build error means and how to fix it? I’ve successfully built gfortran 8 in the past.

checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
make: *** [Makefile:914: all] Error 2

Here’s more context of the commands I’ve typed and the log leading up to the error:

svn update
cd ../build
configure…
make
...
checking for sys/param.h... (cached) yes
..
checking for memalign... (cached) yes
checking for _aligned_malloc... (cached) no
checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
make: *** [Makefile:914: all] Error 2

I’m using Cygwin on a Windows 7 PC configured to build c,c++,fortran...


1) try removing "config.cache" before "configure"
2) looks on details for failed test in "config.log"

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]