Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sun, 21 Jul 2002 19:26:29 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT 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 AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <1465209200 DOT 20020721094429 AT familiehaase DOT de> <1821196999 DOT 20020721141056 AT familiehaase DOT de> <1027256138 DOT 22438 DOT 21 DOT camel AT lifelesswks> <1027256463 DOT 7101 DOT 23 DOT camel AT lifelesswks> <20020721165853 DOT GA3050 AT redhat DOT com> <1027290047 DOT 22677 DOT 0 DOT camel AT 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/