delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/09/23/22:43:52

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <20140924024305.16869.qmail@stuge.se>
Date: Wed, 24 Sep 2014 04:43:05 +0200
From: Peter Stuge <peter AT stuge DOT se>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] Banging my head against the guile-for-windows wall
Mail-Followup-To: geda-user AT delorie DOT com
References: <20140923045453 DOT 56dc3de2 AT akka> <20140923052427 DOT 21624 DOT qmail AT stuge DOT se> <lvsv9a$i91$1 AT ger DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <lvsv9a$i91$1@ger.gmane.org>
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Kai-Martin Knaak wrote:
> > My guess is that the code is broken somehow. 
> 
> And it somehow just affects the cross compile. The very same source 
> works just fine if built native on Linux.

One and the same source often doesn't cross both Linux and Windows
because even though both systems have a C compiler they are still
very very different. The same package being compilable for both
doesn't mean that the same source is actually being used. :)


> > I would work with the source code instead. First fix all warnings
> > found by the compiler. Maybe also enable additional warnings and fix
> > those. If the shell still crashes, debug by sprinkling
> > printf("messages"); fflush(stdout);
> > all over the code, to find where the crash happens.
> 
> This pedestrian approach is known to me ;-)

It's ghetto but it works.


//Peter

- Raw text -


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