From: "Dylan Cuthbert" <dylan@q-games.com>
To: cygwin@cygwin.com
Subject: Re: g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly
Date: Sat, 20 Jul 2002 23:40:00 -0000 [thread overview]
Message-ID: <ahd5cl$9k3$1@main.gmane.org> (raw)
In-Reply-To: <20020720195432.GA31078@redhat.com>
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@redhat.com> wrote in message
news:20020720195432.GA31078@redhat.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/
next prev parent reply other threads:[~2002-07-21 2:13 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-20 18:44 Dylan Cuthbert
2002-07-20 18:57 ` Christopher Faylor
2002-07-20 19:13 ` Jim George
2002-07-20 23:40 ` Dylan Cuthbert [this message]
2002-07-21 0:43 ` Robert Collins
2002-07-21 1:52 ` g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashesoddly Dylan Cuthbert
2002-07-21 2:21 ` Robert Collins
2002-07-22 0:46 ` g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly Gary R. Van Sickle
2002-07-21 3:39 ` Gerrit P. Haase
2002-07-21 5:54 ` Sylvain Petreolle
2002-07-21 5:55 ` Sylvain Petreolle
2002-07-21 7:59 ` Gerrit P. Haase
2002-07-21 9:51 ` Sylvain Petreolle
2002-07-21 10:00 ` Dylan Cuthbert
2002-07-21 11:49 ` Gerrit P. Haase
2002-07-21 7:39 ` Dylan Cuthbert
2002-07-21 8:01 ` Gerrit P. Haase
2002-07-21 9:58 ` Dylan Cuthbert
2002-07-21 9:58 ` Robert Collins
2002-07-21 10:48 ` Robert Collins
2002-07-21 11:53 ` Gerrit P. Haase
2002-07-21 13:12 ` Christopher Faylor
2002-07-21 13:21 ` Christopher Faylor
2002-07-21 18:37 ` Robert Collins
2002-07-21 19:49 ` Christopher Faylor
2002-07-21 20:09 ` Robert Collins
2002-07-22 1:39 ` Gerrit P. Haase
2002-07-21 12:43 ` Randall R Schulz
2002-07-21 13:05 ` Gerrit P. Haase
2002-07-21 13:21 ` Christopher Faylor
2002-07-21 14:58 ` Sylvain Petreolle
2002-07-21 20:33 ` Christopher Faylor
2002-07-22 0:00 ` Dylan Cuthbert
2002-07-21 13:33 news
2002-07-21 19:33 ` Christopher Faylor
2002-07-24 11:07 ` news
[not found] ` <E17XOVg-0007UX-00@quimby.gnus.org>
2002-07-25 4:12 ` Dylan Cuthbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ahd5cl$9k3$1@main.gmane.org' \
--to=dylan@q-games.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).