delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/20/22:14:02

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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Dylan Cuthbert" <dylan AT q-games DOT com>
Newsgroups: gmane.os.cygwin
Subject: Re: g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly
Date: Sun, 21 Jul 2002 11:15:40 +0900
Lines: 68
Message-ID: <ahd5cl$9k3$1@main.gmane.org>
References: <ahb2lc$9m8$1 AT main DOT gmane DOT org> <20020720195432 DOT GA31078 AT redhat DOT com>
NNTP-Posting-Host: pppa20.kyoto-ip.dti.ne.jp
Mime-Version: 1.0
X-Trace: main.gmane.org 1027217622 9859 210.159.246.20 (21 Jul 2002 02:13:42 GMT)
X-Complaints-To: usenet AT main DOT gmane DOT org
NNTP-Posting-Date: Sun, 21 Jul 2002 02:13:42 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

I thought of that before posting to the group, and renamed my executable to
my_test_is_mine_only.exe

Same results.

Its the oddest thing I've ever seen and reminded me (not in a good way) of
DOS days of old :-), any ideas?

--
---------------------------------
Q-Games, Dylan Cuthbert.
http://www.q-games.com

"Christopher Faylor" <cgf AT redhat DOT com> wrote in message
news:20020720195432 DOT GA31078 AT redhat DOT com...
> On Sat, Jul 20, 2002 at 04:16:48PM +0900, Dylan Cuthbert wrote:
> >
> >Hi all, Here is a very simple test program I am compiling with
> >g++ -mno-cygwin -c test.cpp -o test.exe
> >
> >--- snip ---
> >
> >#include <iostream>
> >
> >int main (int argc, char *argv[])
> >{
> > int frog = 10;
> > int blob = 20;
> >
> > for ( int i = 0; i < 10; i++ )
> > {
> >  std::cout << "hello world" << frog << " " << blob << std::endl;
> >
> >  frog += blob;
> >
> > }
> >
> > return(0);
> >}
> >
> >--- snip ---
> >
> >When I run this from a command.com style window, a very strange thing
> >happens - the text cursor starts jumping about the screen in a repeated
> >pattern (I'm not joking, I thought it was a virus or something at first).
> >When I run it from rxvt, rxvt just freezes on me after I press ctrl-c.
> >
> >In both cases I have to use the task manager to close down a task called
> >ntvdm.exe which is using up 50% of the cpu time.  If I end that task the
> >prompt returns to rxvt (or the command.com shell).
>
> I would suspect that you are not running the program as ./test and are,
> instead running some other random "program" named test.
>
> It's usually a good idea not to use 'test' as a command name since UNIX
> systems have a test program installed in /usr/bin.
>
> 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/
>
>




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