X-Recipient: archive-cygwin@delorie.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.graziosi@alice.it>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: experimental package: gcc4-4.3.2-2
References: <49B90A2B.3050907@alice.it> <49BA7A8E.3070207@alice.it> <49BA9D05.3010000@alice.it> <49BAF849.4080403@alice.it>
In-Reply-To: <49BAF849.4080403@alice.it>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

