delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/21/18:21:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Subject: Re: g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes
oddly
From: Robert Collins <robert DOT collins AT syncretize DOT net>
To: cygwin AT cygwin DOT com
In-Reply-To: <20020721165853.GA3050@redhat.com>
References: <ahb2lc$9m8$1 AT main DOT gmane DOT org>
<1465209200 DOT 20020721094429 AT familiehaase DOT de> <ahe41c$ar4$1 AT main DOT gmane DOT org>
<1821196999 DOT 20020721141056 AT familiehaase DOT de> <aheaug$j6q$1 AT main DOT gmane DOT org>
<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>
Date: 22 Jul 2002 08:20:47 +1000
Message-Id: <1027290047.22677.0.camel@lifelesswks>
Mime-Version: 1.0

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' ?

Rob


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019