[fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me "Processterminated by SIGSEGV"

Tomas Hajny XHajT03 at mbox.vol.cz
Thu Sep 15 23:08:20 CEST 2005


Date sent:      	Thu, 15 Sep 2005 18:53:51 +0200
From:           	Søren Ager <sorenager at poboxes.com>
To:             	FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Subject:        	Re: [fpc-pascal] fpc 2.0 and DOM/xml under OS/2 gives me
	"Processterminated by SIGSEGV"
Send reply to:  	FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
	<mailto:fpc-pascal-request at lists.freepascal.org?subject=unsubscribe>
	<mailto:fpc-pascal-request at lists.freepascal.org?subject=subscribe>

> On 14-09-05 13.47, Tomas Hajny wrote:
> 
> > Well, there are several ways how to do it. Just RTL compilation with
> > debug information is done by running "make debug" in the /rtl/os2
> > source directory.
> 
> Thanks - I have done that so now I have a rtl with debug info. There
> is one error though:
> 
> sysutils.pp(571,22) Error: range check error while evaluating
> constants

Ah, right. Makefile target "debug" turns compile time range checking 
on; FindFirst was correct in unit Dos, but not here. Fixed in SVN 
now.


> > Alternatively, it would be possible to build the whole thing 
(e.g.
> > including the compiler as well) in usual ZIP files using "make
> > os2zip
> 
> I might play around with that some day...

I can send you the OS/2 .cmd files I use (starting with selection of 
the right compiler version up to complete snapshot building process) 
if you want. Nothing spectacular, just to save some time.


> > Implementation of native debugger emulating the GDB interface would
> > be probably possible, but is a lot of work. 
> 
> It would be nice with a decent debugger - I might have to make one
> myself ;-)

You're certainly more than welcome. ;-) I know at least two OS/2 
debuggers with full source code available (OpenWatcom and IBM's 
SD386), but these aren't written in Pascal, of course (i.e. they 
could be possibly used for reference, but nothing more).

Regards (or "Hilsen" - I guess it means the same, right? ;-) )

Tomas




More information about the fpc-pascal mailing list