delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/16/03:48:30

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000316084713.80368.qmail@hotmail.com>
X-Originating-IP: [138.221.200.106]
From: "Erik Eriksson" <evt1eriksson AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: DefaultColormap
Date: Thu, 16 Mar 2000 08:47:13 GMT
Mime-Version: 1.0

Hi all,
I am trying to compile a small CAD program on my cygwin installation.
I use Cygwin b20, precompiled binaries of the Xclients and an Xserver from 
Starnet. The program is built without problems but doesn't work.
The output of GDB ends like this:

"Program received signal SIGSEGV, Segmentation fault.
0x48c88f in wpcini () at wp4.c:289
289         colmap = DefaultColormap(xdisp,xscr);"

I am not a programmer but I have been told that DefaultColormap is a macro 
that the compilator expand to the correct function call.
Do I have to change something or add another flag during compilation?

Just to mess things up I changed DefaultColormap to XDefaultColormap
and got the following from GDB:

"Program received signal SIGSEGV, Segmentation fault.
0x6700e71c in _size_of_stack_reserve__ ()"

The author of the software says that in the commercial (and expensive) 
windows version of the software they allocate a couple of Mb for stack. Do I 
have to tell gcc how big stack I want to use?
Thanks for any hints.
Regards
Erik Eriksson
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019