This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: fortran at gcc dot gnu dot org
- Date: Mon, 30 Jul 2018 09:28:37 +0200
- Subject: Re: Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
- References: <6ED57818-CA53-46AF-A485-83356CB390C0@yahoo.com>
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