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

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: Thu, 15 Sep 2005 01:19:37 +0200 (MET DST)
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: cygwin AT cygwin DOT com
Subject: Re: testers needed prior to 1.5.19 release
In-Reply-To: <Pine.GSO.4.63.0509140113520.20904@slinky.cs.nyu.edu>
Message-ID: <Pine.OSF.4.21.0509150102160.26714-100000@ax0rm1.roma1.infn.it>
MIME-Version: 1.0

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

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


Best regards,

    angelo.


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