Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 > >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/