delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/10/30/16:51:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: ZCZl1D8VM1l9Wdl0FeZkUE1WzGTOUT4yVTHI_E099nEVDIIlgrD9.dFns2XbUBwqV6GAEUZz4kqFEH_tI4Okl9bKo9iYG9_dlKhZ8ub_dXxR.7oiSkgpIChlDDQ13GQFyZK_QeIPomEWZRlPgXgubpkhuzpEt9NEWslFhPRvatXZFPw6wj.of8TS7_si
Date: Thu, 30 Oct 2008 17:10:01 +0100 (CET)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: gfortran Runtime library
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <300649.60461.qm@web25001.mail.ukl.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019