public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Arnaud Desitter" <arnaud.desitter@ouce.ox.ac.uk>
To: <cygwin-xfree@cygwin.com>, <richard.campbell@air2web.com>
Cc: <bug-ddd@gnu.org>
Subject: Re: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD
Date: Thu, 04 Dec 2003 16:51:00 -0000	[thread overview]
Message-ID: <0a9501c3ba86$ea9d7ec0$d92601a3@ouce.ox.ac.uk> (raw)
In-Reply-To: <DF08E278E10FC14F87CE7E802ABFD04B08247DC3@EXCHANGE01.air2web.com>


----- Original Message ----- 
From: "Richard Campbell" <richard.campbell@air2web.com>
Newsgroups: gmane.os.cygwin.xfree,gmane.comp.debugging.ddd.bugs
Cc: <bug-ddd@gnu.org>
Sent: Thursday, December 04, 2003 2:49 PM
Subject: RE: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re:
compiling DDD


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

It may be better to fix gcc. However, you can try to convince the ddd
maintainer.

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

What I was referring to is that in the curent lesstif version, the
compatibility
mode is hard-coded at build time. Therefore, there is no compatibility
switch to play with once lesstif is installed.

Please try on Cygwin:
>cat Xmcheck.c
#include <Xm/Xm.h>
#include <stdio.h>
int main(void){
  printf("xmUseVersion=%d XmVersion=%d\n",
         xmUseVersion, XmVersion);
  return 0;
}
>gcc -Wall -I/usr/X11R6/include Xmcheck.c -L/usr/X11R6/lib -lXm
>./a.out
xmUseVersion=2002 XmVersion=2002

If it gives different numbers, there is a good chance that your lesstif
library won't work properly.

Regards,

>
> -Richard Campbell.
>


  parent reply	other threads:[~2003-12-04 16:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 14:49 DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD Richard Campbell
2003-12-04 15:49 ` Harold L Hunt II
2003-12-04 17:34   ` Arnaud Desitter
2003-12-04 19:00     ` Harold L Hunt II
2003-12-04 19:35     ` INSTALL.html#compile_Windows was (Re: DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault) Brian Ford
2003-12-07 10:41       ` [Lesstif] " Danny Backx
2003-12-08 18:57         ` [Lesstif] INSTALL.html#compile_Windows Brian Ford
2003-12-04 16:51 ` Arnaud Desitter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-04 17:50 DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD Richard Campbell
2003-12-04 18:23 ` DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD Arnaud Desitter
2003-12-04 16:54 DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: c ompiling DDD Richard Campbell
2003-12-04 17:32 ` DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS Re: compiling DDD Arnaud Desitter
     [not found] <1070478432.3fce34609f444@www.nexusmail.uwaterloo.ca>
2003-12-03 19:20 ` Brian Ford
2003-12-03 21:42   ` DDD 3.3.8 (i686-pc-cygwin) gets `Segmentation fault WAS " S Iyer
2003-12-04 10:19     ` Arnaud Desitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='0a9501c3ba86$ea9d7ec0$d92601a3@ouce.ox.ac.uk' \
    --to=arnaud.desitter@ouce.ox.ac.uk \
    --cc=bug-ddd@gnu.org \
    --cc=cygwin-xfree@cygwin.com \
    --cc=richard.campbell@air2web.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).