X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_BG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F3188EB.6000802@aol.com>
Date: Tue, 07 Feb 2012 15:26:19 -0500
From: Tim Prince <n8tm@aol.com>
Reply-To: tprince@computer.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Documentation on -mno-cygwin Accuracy
References: <CAGJFqDVGy9pMbpYizQhX3qZCRzALS9r9N=RbL6FQbHwrAdkR7A@mail.gmail.com> <1328569526.8848.3.camel@YAAKOV04> <jgrik0$6k3$1@dough.gmane.org> <4F315473.8070106@gmail.com> <jgrtto$7g5$1@dough.gmane.org> <4F3180B1.7090007@aol.com> <jgs0ff$t8j$1@dough.gmane.org>
In-Reply-To: <jgs0ff$t8j$1@dough.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
x-aol-global-disposition: G
X-AOL-SCOLL-SCORE: 0:2:395676672:93952408
X-AOL-SCOLL-URL_COUNT: 0
x-aol-sid: 3039ac1d33864f3188ec6b33
X-AOL-IP: 69.133.204.177
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

On 2/7/2012 3:10 PM, carolus wrote:
> On 2/7/2012 1:51 PM, Tim Prince wrote:
>> On 2/6/2012 2:29 PM, Charles D. Russell wrote:
>>
>>> i686-w64-mingw32-gfortran.exe hello.f -o hello
>>>
>>> cdr@dell03 ~/mingtest
>>> $ ./hello
>>> /home/cdr/mingtest/hello.exe: error while loading shared libraries:
>>> libgfortran-
>>> 3.dll: cannot open shared object file: No such file or directory
>>>
>>
>> The cygwin distribution of mingw puts the support dlls in their own
>> directories. You must act yourself to get them on PATH. This is a
>> consequence of their not being cygwin compilers and giving you a mongrel
>> combination of cygwin and Windows setup. However, cygwin provides useful
>> tools like find and export:
>> export PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/bin/:$PATH
>>
>>
> The old -mno-cygwin yielded a standalone executable that I could give to
> a colleague and it would "just work" on a Windows machine without
> cygwin. It appears that now one must bundle at least one dll. From a
> licensing standpoint, are these dll's any different from cygwin1.dll?
> Can they be distributed freely without bundling the source code? If not,
> I might as well forget about mingw and just supply cygwin1.dll.
>

Seems off-topic here.  Does http://www.mingw.org/license begin to answer 
your question?  How about the recent suggestion of -static?


-- 
Tim Prince

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

