delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/21/12:51:47

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
Date: Sun, 21 Jul 2002 18:52:38 +0200
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <138098512.20020721185238@familiehaase.de>
To: cygwin AT cygwin DOT com
Subject: Re: g++ (v.3.1.1-4) -mno-cygwin with a hello world sample crashes oddly
In-Reply-To: <5.1.0.14.2.20020721075253.02c77d90@pop3.cris.com>
References: <ahe41c$ar4$1 AT main DOT gmane DOT org> <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>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020721075253 DOT 02c77d90 AT pop3 DOT cris DOT com>
MIME-Version: 1.0

Hallo Randall,

Then only the syntax of this command was wrong:

>>$ g++ -mno-cygwin -c hiho.cpp -o hiho

With the correct syntax it looks ok:

$ g++ -mno-cygwin -o hiho.exe hiho.cpp

$ ./hiho.exe
hello world10 20
hello world30 20
hello world50 20
hello world70 20
hello world90 20
hello world110 20
hello world130 20
hello world150 20
hello world170 20
hello world190 20

I just useed copy & paste (without using my brain;).


Gerrit
-- 
"All faults& bugs are mine - Robert"
    from squid/acinclude.m4,   Sun Apr 21 05:21:21 2002


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