gfortran Runtime library

Marco Atzeri marco_atzeri@yahoo.it
Thu Oct 30 21:38:00 GMT 2008


Dear all,

I was trying to build latest
lapack-3.1.1/atlas-3.8.2 with gcc-4 / gfortran
adapting the previous source of James R. Phillips

But I had some problem at linking time with
gfortran;  likely I still need to learn a lot
about the linking procedure.

finally I solved building the DLL for gfortran

gcc-4 -shared -o cyggfortran.dll 
-Wl,--enable-auto-image-base \
-Wl,--out-implib=libgfortran.dll.a \ 
-Wl,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--whole-archive libgfortran.a \
-Wl,--no-whole-archive -lgcc_s

and linked lapack/atlas against it.

gcc-4 -shared -o cyglapack.dll \
-Wl,--enable-auto-image-base \
-Wl,--out-implib=liblapack.dll.a \
-Wl,--export-all-symbols \
-Wl,--enable-auto-import \
-Wl,--whole-archive lapack_LINUX.a \
-Wl,--no-whole-archive libblas.dll.a -lgcc_s
-lgfortran 


I saw that on debian the libgfortran for 4.3.2
is available, any plan also for cygwin ?

Regards
Marco



      Unisciti alla community di Io fotografo e video, il nuovo corso di fotografia di Gazzetta dello sport:
http://www.flickr.com/groups/iofotografoevideo

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list