bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompili


From: Harold L Hunt II
Subject: Re: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD
Date: Thu, 04 Dec 2003 10:49:30 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3

Richard Campbell wrote:
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?

The statement in quotes above is now misleading and completely incorrect. We are distributing *only* a shared version of LessTif on Cygwin now. The various problems mentioned in the quote all have work-arounds, some of which were already used by OS/2; we enabled those work-arounds and adding one or two more of our own and the shared LessTif library compiles and works fine now.

The problem is not with Cygwin's LessTif... the problem is in how DDD is detecting LessTif on Cygwin. It must be assuming that the file name for the import library with be of the format foo.a whereas the name is of the format foo.dll.a on Cygwin.

Harold





reply via email to

[Prev in Thread] Current Thread [Next in Thread]