1 diff --exclude=.* -Naur CLAPACK-3.1.1.1/F2CLIBS/libf2c/Makefile CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/Makefile
2 --- CLAPACK-3.1.1.1/F2CLIBS/libf2c/Makefile Thu Sep 4 04:29:25 2008
3 +++ CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/Makefile Fri Nov 7 01:58:05 2008
8 - $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm ||\
9 - $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm
10 + $(CC) $(CFLAGS) -DNO_FPINIT arithchk.c -lm -o a.out ||\
11 + $(CC) -DNO_LONG_LONG $(CFLAGS) -DNO_FPINIT arithchk.c -lm -o a.out
13 rm -f a.out arithchk.o
15 diff --exclude=.* -Naur CLAPACK-3.1.1.1/F2CLIBS/libf2c/dtime_.c CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/dtime_.c
16 --- CLAPACK-3.1.1.1/F2CLIBS/libf2c/dtime_.c Thu Sep 4 04:29:25 2008
17 +++ CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/dtime_.c Fri Nov 7 23:01:21 2008
22 +#if defined(MSDOS) || defined(MINGW)
27 #define _INCLUDE_XOPEN_SOURCE /* for HP-UX */
28 #include "sys/types.h"
29 #include "sys/times.h"
38 diff --exclude=.* -Naur CLAPACK-3.1.1.1/F2CLIBS/libf2c/etime_.c CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/etime_.c
39 --- CLAPACK-3.1.1.1/F2CLIBS/libf2c/etime_.c Thu Sep 4 04:29:25 2008
40 +++ CLAPACK-3.1.1.1-mingw/F2CLIBS/libf2c/etime_.c Fri Nov 7 02:07:20 2008
45 +#if defined(MSDOS) || defined(MINGW)
49 diff --exclude=.* -Naur CLAPACK-3.1.1.1/INCLUDE/clapack.h CLAPACK-3.1.1.1-mingw/INCLUDE/clapack.h
50 --- CLAPACK-3.1.1.1/INCLUDE/clapack.h Thu Sep 4 04:29:25 2008
51 +++ CLAPACK-3.1.1.1-mingw/INCLUDE/clapack.h Fri Nov 7 23:41:46 2008
61 /* Subroutine */ int cbdsqr_(char *uplo, integer *n, integer *ncvt, integer *
62 nru, integer *ncc, real *d__, real *e, complex *vt, integer *ldvt,
63 complex *u, integer *ldu, complex *c__, integer *ldc, real *rwork,
65 doublereal *wi, doublereal *z__, integer *ldz, doublereal *work,
66 integer *lwork, integer *info);
68 -/* Subroutine */ int dlabad_(doublereal *small, doublereal *large);
69 +/* Subroutine */ int dlabad_(doublereal *small__, doublereal *large__);
71 /* Subroutine */ int dlabrd_(integer *m, integer *n, integer *nb, doublereal *
72 a, integer *lda, doublereal *d__, doublereal *e, doublereal *tauq,
74 integer *ihi, real *h__, integer *ldh, real *wr, real *wi, real *z__,
75 integer *ldz, real *work, integer *lwork, integer *info);
77 -/* Subroutine */ int slabad_(real *small, real *large);
78 +/* Subroutine */ int slabad_(real *small__, real *large__);
80 /* Subroutine */ int slabrd_(integer *m, integer *n, integer *nb, real *a,
81 integer *lda, real *d__, real *e, real *tauq, real *taup, real *x,
82 @@ -5429,6 +5433,10 @@
83 /* Subroutine */ int zupmtr_(char *side, char *uplo, char *trans, integer *m,
84 integer *n, doublecomplex *ap, doublecomplex *tau, doublecomplex *c__,
85 integer *ldc, doublecomplex *work, integer *info);
91 #endif /* __CLAPACK_H */
93 diff --exclude=.* -Naur CLAPACK-3.1.1.1/INCLUDE/f2c.h CLAPACK-3.1.1.1-mingw/INCLUDE/f2c.h
94 --- CLAPACK-3.1.1.1/INCLUDE/f2c.h Thu Sep 4 04:29:25 2008
95 +++ CLAPACK-3.1.1.1-mingw/INCLUDE/f2c.h Fri Nov 7 23:33:56 2008
104 typedef long int integer;
105 typedef unsigned long int uinteger;
106 typedef char *address;
117 diff --exclude=.* -Naur CLAPACK-3.1.1.1/INSTALL/dsecnd.c CLAPACK-3.1.1.1-mingw/INSTALL/dsecnd.c
118 --- CLAPACK-3.1.1.1/INSTALL/dsecnd.c Thu Sep 4 04:29:25 2008
119 +++ CLAPACK-3.1.1.1-mingw/INSTALL/dsecnd.c Sun Nov 9 15:22:19 2008
121 #include "blaswrap.h"
124 +#if defined(MSDOS) || defined(MINGW)
130 #include <sys/times.h>
131 #include <sys/types.h>
142 + double t = clock();
143 + return (doublereal)t / CLK_TCK;
149 return (doublereal)(rusage.tms_utime) / CLK_TCK;
155 diff --exclude=.* -Naur CLAPACK-3.1.1.1/INSTALL/second.c CLAPACK-3.1.1.1-mingw/INSTALL/second.c
156 --- CLAPACK-3.1.1.1/INSTALL/second.c Thu Sep 4 04:29:25 2008
157 +++ CLAPACK-3.1.1.1-mingw/INSTALL/second.c Sun Nov 9 15:22:01 2008
161 +#if defined(MSDOS) || defined(MINGW)
167 #include <sys/times.h>
168 #include <sys/types.h>
179 + double t = clock();
180 + return (doublereal)t / CLK_TCK;
186 return (doublereal)(rusage.tms_utime) / CLK_TCK;
191 diff --exclude=.* -Naur CLAPACK-3.1.1.1/make.inc CLAPACK-3.1.1.1-mingw/make.inc
192 --- CLAPACK-3.1.1.1/make.inc Thu Jan 1 09:00:00 1970
193 +++ CLAPACK-3.1.1.1-mingw/make.inc Sun Nov 9 14:31:50 2008
195 +####################################################################
196 +# CLAPACK make include file. #
197 +# CLAPACK, Version 3.1.1.1 #
199 +####################################################################
201 +# The machine (platform) identifier to append to the library names
205 +# Modify the CC and CFLAGS definitions to refer to the
206 +# compiler and desired compiler options for your machine. NOOPT
207 +# refers to the compiler options desired when NO OPTIMIZATION is
208 +# selected. Define LOADER and LOADOPTS to refer to the loader and
209 +# desired load options for your machine.
211 +#######################################################
212 +# This is used to compile C libary
214 +# if no wrapping of the blas library is needed, uncomment next line
215 +#CC = gcc -DNO_BLAS_WRAP
216 +CFLAGS = -DMINGW -O2
218 +LOADOPTS = -Wl,--stack=33554432
220 +DRVCFLAGS = $(CFLAGS)
221 +F2CCFLAGS = $(CFLAGS)
222 +#######################################################################
224 +# The archiver and the flag(s) to use when building archive (library)
225 +# If you system has no ranlib, set RANLIB = echo.
231 +# The location of the libraries to which you will link. (The
232 +# machine-specific, optimized BLAS library should be used whenever
236 +# Using reference BLAS
237 +BLASLIB = ../../blas$(PLAT).a
239 +#BLASLIB = -framework vecLib
240 +# Using Fortran BLAS interface of ATLAS without wrapper (CLAPACK has to be compiled with -DNO_BLAS_WRAP)
241 +#BLASLIB = -lf77blas -latlas
242 +# Using Fortran BLAS interface of ATLAS with wrapper
243 +#BLASLIB = ../../libfblaswr.a -lf77blas -latlas
244 +# Using CBLAS interface of ATLAS with wrapper
245 +#BLASLIB = ../../libcblaswr.a -lcblas -latlas
246 +# Using Goto without wrapper (CLAPACK has to be compiled with -DNO_BLAS_WRAP)
247 +#BLASLIB = -lgoto -lpthread
248 +# Using Goto with wrapper
249 +#BLASLIB = ../../libfblaswr.a -lgoto -lpthread
250 +LAPACKLIB = lapack$(PLAT).a
251 +F2CLIB = ../../F2CLIBS/libf2c.a
252 +TMGLIB = tmglib$(PLAT).a
253 +EIGSRCLIB = eigsrc$(PLAT).a
254 +LINSRCLIB = linsrc$(PLAT).a