delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/14/19:27:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Wed, 14 Sep 2005 19:27:07 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: testers needed prior to 1.5.19 release
Message-ID: <20050914232707.GD27150@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 63 DOT 0509140113520 DOT 20904 AT slinky DOT cs DOT nyu DOT edu> <Pine DOT OSF DOT 4 DOT 21 DOT 0509150102160 DOT 26714-100000 AT ax0rm1 DOT roma1 DOT infn DOT it>
Mime-Version: 1.0
In-Reply-To: <Pine.OSF.4.21.0509150102160.26714-100000@ax0rm1.roma1.infn.it>
User-Agent: Mutt/1.5.8i

On Thu, Sep 15, 2005 at 01:19:37AM +0200, Angelo Graziosi wrote:
>With the September snapshots, the following code:
>
>------------------------------------------------
>// hello_tst.cpp
>
>#include <iostream>
>
>using namespace std;
>
>int main()
>{
>	cout << "Hello, world!" << endl;
>	
>	return 0;
>}
>
>-------------------------------------------------
>
>works when it is built with g++ 3.4.4-1:
>
>$ g++ hello_tst.cpp
>$ ./a
>Hello, world!
>
>
>but if it is built with another compiler, Borlandc 5.5, it does not work:
>
>
>$ bcc32 hello_tst.cpp
>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
>hello_tst.cpp:
>Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
>
>$ ./hello_tst.exe
>bash: ./hello_tst.exe: Argument list too long
>
>The test code works in any case (g++, bcc5.5) with Cygwin 1.5.18-1 and
>with the snapshots before that which truncated the command line
>arguments to 32k (these snaps now are not more present in the list of
>snaps, only those >= 20050906 are present).

You're misinterpreting something here.  Cygwin never just silently
truncated arguments to 32K.

>This mean that with current snapshots or with the next release of Cygwin
>one cannot run from Cygwin applications that were built with other
>NON-Cygwin compilers ???

I tried this with mingw and Microsoft's compiler without any problem.  If
this program isn't too big (and I don't see why it should be) please post
it here so that I can try it.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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