Build 无法识别的选项'-插件';对于MinGW下的/usr/bin/ld
我正在尝试使用MinGW/Msys在Windows上编译LAPACK 当我运行命令时Build 无法识别的选项'-插件';对于MinGW下的/usr/bin/ld,build,mingw,ld,gfortran,lapack,Build,Mingw,Ld,Gfortran,Lapack,我正在尝试使用MinGW/Msys在Windows上编译LAPACK 当我运行命令时 $ make lapacklib 我得到以下错误: $ make lapacklib ( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch ./testsecond; ./testdsecnd; ./testieee; ./testversi make[1]: Entering directory `/c/lapack-3.5
$ make lapacklib
我得到以下错误:
$ make lapacklib
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch
./testsecond; ./testdsecnd; ./testieee; ./testversi
make[1]: Entering directory `/c/lapack-3.5.0/INSTALL'
gfortran -O2 -frecursive -c lsame.f -o lsame.o
gfortran -O2 -frecursive -c lsametst.f -o lsametst.o
gfortran -o testlsame lsame.o lsametst.o
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2.exe: erreur: ld a retourné 1 code d'état d'exécuti
make[1]: *** [testlsame] Error 1
make[1]: Leaving directory `/c/lapack-3.5.0/INSTALL'
/bin/sh: ./testlsame: No such file or directory
/bin/sh: ./testslamch: No such file or directory
/bin/sh: ./testdlamch: No such file or directory
/bin/sh: line 1: ./testsecond: No such file or directory
/bin/sh: line 1: ./testdsecnd: No such file or directory
/bin/sh: line 1: ./testieee: No such file or directory
/bin/sh: line 1: ./testversion: No such file or directory
问题出在哪里
提前谢谢。你能发布
make.inc
文件吗?谢谢回复@ctheo。这是make.inc
似乎没问题。这个错误没有明显的原因。尝试从终端编译testlsame
。i、 e.gfortran-o testlsame lsame.o lsametst.o