Which did you use?
I use Visual studio 2008 command prompt.
Maybe that I don't get a dll because compiling the library does not reach the end, but the library gotoblas_athlon-r1.06.a created.
When I built it under cygwin command prompt using gnu gfortran:
- Code: Select all
$ make BINARY=32 USE_THREAD=0 CC=GCC-4 FC=gfortran-4
When the compilation comes to tests I get an error:
- Code: Select all
cblas_strmm PASSED THE TEST OF ERROR-EXITS
******* FATAL ERROR - COMPUTED RESULT IS LESS THAN HALF ACCURATE *******
EXPECTED RESULT COMPUTED RESULT
1 -0.412587 0.00000
THE ARE THE RESULTS FOR COLUMN 1
******* cblas_strmm FAILED ON CALL NUMBER:
At line 1405 of file с_sblat3.f
Fortran runtime error: Bad unit number in OPEN statement
make[1]:*** [all3] Error 2
make[1]: Leaving directoey '/home/gotoblas/ctest'
make: *** [tests] Error 2
But the library libgoto_athlon-r1.06.a was created.
And then, when i try to create the export libraries using Visual studio command promt i get the error:
- Code: Select all
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
C:\Program Files\Microsoft Visual Studio 9.0\VC>cd C:\cygwin\home\gotoblas
C:\cygwin\home\GotoBLAS>cd exports
C:\cygwin\home\GotoBLAS\exports>make dll
cat: ftest.s: No such file or directory
make: *** No rule to make target `../libgoto_athlon-r1.06.a', needed by `libgoto.dll'. Stop.
When I built it under windows cmd using intel fortran compiler:
- Code: Select all
make BINARY=32 USE_THREAD=0 CC=GCC-4 FC=ifort
I get:
- Code: Select all
....................
make -C test all
make[1]: Entering directory `/home/GotoBLAS/test'
ifort -O2 -c sblat1.f -o sblat1.o
ifort: command line warning #10161: unrecognized source type 'sblat1.o'; object
file assumed
-out:sblat1.exe
-subsystem:console
sblat1.o
../libgoto_athlon-r1.06.a
LINK : fatal error LNK1181: cannot open input file 'sblat1.o'
make[1]: *** [sblat1] Error 157
make[1]: Leaving directory `/home/GotoBLAS/test'
make: *** [tests] Error 2
But the library libgoto_athlon-r1.06.a was created.
And then, when i try to create the export libraries using Visual studio command promt i get the same error:
- Code: Select all
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
C:\Program Files\Microsoft Visual Studio 9.0\VC>cd C:\cygwin\home\gotoblas
C:\cygwin\home\GotoBLAS>cd exports
C:\cygwin\home\GotoBLAS\exports>make dll
cat: ftest.s: No such file or directory
make: *** No rule to make target `../libgoto_athlon-r1.06.a', needed by `libgoto.dll'. Stop.