Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <01dc01c0c628$23c1f880$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <01b301c0c621$063e4ae0$0200a8c0 AT lifelesswks> <200104160327 DOT XAA06356 AT envy DOT delorie DOT com> Subject: Re: next porting question for gcj Date: Mon, 16 Apr 2001 13:48:45 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 16 Apr 2001 03:41:27.0711 (UTC) FILETIME=[1E154AF0:01C0C627] ----- Original Message ----- From: "DJ Delorie" To: Cc: Sent: Monday, April 16, 2001 1:27 PM Subject: Re: next porting question for gcj > > GCC supports alloca directly. You shouldn't need any includes. > I assume you guys haven't looked into gcj and libjava - if you have please feel free to correct me (I'm only looking into this as a followup from Chris's comment last month). ... There's no alloca in the standard cygwin includes, in winsup.h there's #define alloca __builtin_alloca. this errror is occuring during the make bootstrap process. AFAIK only the gcc headers are used (I'm using the cvs GCC 3 branch). I've done some debug tracking and patched gcj to apparently work correctly under cygwin. libjava just seems to have some header issues. Would inserting the __builtin_alloca define be a reasonable workaround? (__CYGWIN__ protected of course). Rob