Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 21 Jul 2002 19:26:29 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: g++ (v.3.1.1-4)  -mno-cygwin with a hello world sample crashes oddly
Message-ID: <20020721232629.GA6311@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <ahb2lc$9m8$1@main.gmane.org> <1465209200.20020721094429@familiehaase.de> <ahe41c$ar4$1@main.gmane.org> <1821196999.20020721141056@familiehaase.de> <aheaug$j6q$1@main.gmane.org> <1027256138.22438.21.camel@lifelesswks> <1027256463.7101.23.camel@lifelesswks> <20020721165853.GA3050@redhat.com> <1027290047.22677.0.camel@lifelesswks>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1027290047.22677.0.camel@lifelesswks>
User-Agent: Mutt/1.3.23.1i

On Mon, Jul 22, 2002 at 08:20:47AM +1000, Robert Collins wrote:
>On Mon, 2002-07-22 at 02:58, Christopher Faylor wrote:
>> On Sun, Jul 21, 2002 at 11:01:02PM +1000, Robert Collins wrote:
>> >On Sun, 2002-07-21 at 22:55, Robert Collins wrote:
>> >> On Sun, 2002-07-21 at 22:56, Dylan Cuthbert wrote:
>> >> > That's very odd behaviour!  What else is in your current directory?  Is
>> >> > there a hiho.exe.exe?  :-)
>> >> 
>> >> I see the same quirks on linux. Something strange here.
>> >
>> >Ah, I was trying to run it on a nonexec partition (long story).
>> >
>> >Works fine for me(tm).
>> 
>> I'd be interested in how you could see any quirks on linux with the
>> -mno-cygwin option.  It seems to me that this would produce a program
>> that doesn't run at all, unless, maybe, you have wine installed or
>> something.
>
>I was just testing the C++ code. No -mno-cygwin at all.
>
>The quirks were having an unrunnable file foo.
>
>Then I realised where I was in the fs, moved it out of there, and voila,
>no problem.
>
>However I think one interesting thing has come up - is the cygwin gcc
>3.1.x patched to generate foo.exe when passed '-o foo' ?

gcc 3.1.x and every native cygwin gcc that I have used in the last four
years.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

