From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13925 invoked by alias); 4 Dec 2003 14:49:19 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 13918 invoked from network); 4 Dec 2003 14:49:18 -0000 Received: from unknown (HELO EXCHANGE01.air2web.com) (12.39.48.66) by sources.redhat.com with SMTP; 4 Dec 2003 14:49:18 -0000 Received: by EXCHANGE01.air2web.com with Internet Mail Service (5.5.2653.19) id ; Thu, 4 Dec 2003 09:49:17 -0500 Message-ID: From: Richard Campbell To: "'cygwin-xfree@cygwin.com'" Cc: bug-ddd@gnu.org Subject: RE: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD Date: Thu, 04 Dec 2003 14:49:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2003-12/txt/msg00040.txt.bz2 List-Id: >That is a bug in gcc on cygwin related to "#pragma interface". >Please look for help on the cygwin mailing list. Arnaud, the problem is with both "#pragma interface" and "#pragma implementation". http://www.cygwin.com/ml/cygwin/2003-07/msg00463.html Guarding all "#pragma interface" and "#pragma implementation" calls with ifndef __CYGWIN__ allows everything to compile cleanly - is this something that could be applied to the main baseline? >Modifying ddd/config.h will not help. There is a problem with the >lesstif distribution on cygwin. See: >http://www.lesstif.org/INSTALL.html Is the following what you are referring to? "On windows using Cygwin, U/WIN or Interix, LessTif must be built as static libraries. Because, one of the biggest issues with X on Win32 is the moronic DLL format. Specifically - it is not possible to export data from a Win32 DLL in a form that can be used to statically initialize another global variable. Data access from a DLL requires at least one pointer indirection, and hence executable code. This is why X11R6 doesn't have DLLs for Xt/Xmu/Xaw (and Motif) on Win32." If yes, these rules have been changing. Brian, isn't this what you were specifically working on recently? -Richard Campbell.