| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <49BB706C.3020404@alice.it> |
| Date: | Sat, 14 Mar 2009 09:53:00 +0100 |
| From: | Angelo Graziosi <angelo DOT graziosi AT alice DOT it> |
| User-Agent: | Thunderbird 2.0.0.19 (Windows/20081209) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2 |
| References: | <49B90A2B DOT 3050907 AT alice DOT it> <49BA7A8E DOT 3070207 AT alice DOT it> <49BA9D05 DOT 3010000 AT alice DOT it> <49BAF849 DOT 4080403 AT alice DOT it> |
| In-Reply-To: | <49BAF849.4080403@alice.it> |
| 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 |
Dave Korn wrote:
> 1.5 or 1.7?
I do not use 1.7.
uname -a
CYGWIN_NT-5.1 mypc 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
cygcheck ./test_program.exe
.\test_program.exe
C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\Secur32.dll
C:\cygwin\bin\cyggcc_s-1.dll
C:\cygwin\bin\cyggfortran-3.dll
> -shared is not (surprisingly) the opposite of -static!
>
> -static means link your app against static libs, not DLLs.
> -shared means build your app as a DLL, not an EXE!
> If you want to link against shared DLLs, you need add no options at all;
> that's the default for all the languages (except plain C).
In this case gfortran-4.3.2-2 works fine on 1.5 and, perhaps, we have
another problem on 1.7!
Cheers,
Angelo.
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |