Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Steve Williams
Steve Williams wrote: Koenraad Lelong wrote: Hi, When I ty to compile fpc-svn for arm-linux it stops with Internal error 200203271 when buildgtk2.pp/gtkspinbutton.inc is compiled. Was there a solution for this? I've just come across this error now while trying to build fpc-svn fo

Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Marco van de Voort
> > Was there a solution for this? I've just come across this error now > > while trying to build fpc-svn for arm-linux as well. I'm using the > > following command line on Win32 from the root of the fpc source tree. > > > > make all OS_TARGET=linux CPU_TARGET=arm > > CROSSBINDIR=c:\devkitpro\

Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Steve Williams
Marco van de Voort wrote: Was there a solution for this? I've just come across this error now while trying to build fpc-svn for arm-linux as well. I'm using the following command line on Win32 from the root of the fpc source tree. make all OS_TARGET=linux CPU_TARGET=arm CROSSBINDIR=c:\devki

Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Steve Williams
Steve Williams wrote: Marco van de Voort wrote: Try make cycle instead rest the same. If you want to do it using make all that is all possible, but then you probably also need a OPT='-darm' There is no 'make cycle' target at the root of the fpc source tree. Tried the OPT='-darm'

Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Peter Vreman
At 12:30 22-6-2006, you wrote: Steve Williams wrote: Koenraad Lelong wrote: Hi, When I ty to compile fpc-svn for arm-linux it stops with Internal error 200203271 when buildgtk2.pp/gtkspinbutton.inc is compiled. Was there a solution for this? I've just come across this error now while t

Re: [fpc-pascal] Internal error 200203271

2006-06-22 Thread Marco van de Voort
> >PPC_TARGET=arm? Is there any documentation on these > >parameters? The Build FAQ gives an example of building a compiler > >to run on another system. I want to build a compiler to run on my > >system that can build executables for another system. > > The commandline is correct. It will gi

[fpc-pascal] Modify XML Document

2006-06-22 Thread Felipe Monteiro de Carvalho
Hello, I am trying to use the units XMLRead, XMLWrite, DOM to modify the structure of a XML file. Reading the XML file is very easy and works very well, but I am lost about how to modify it´s structure. Specifically I want to add a new "brother" to a node. I try to create a DomNode and then add

Re: [fpc-pascal] Modify XML Document

2006-06-22 Thread Tony Pelton
On 6/22/06, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: -- snip TDOCDocument interface source from FPC 2.0.2 -- TDOMDocument = class(TDOMNode_WithChildren) protected FDocType: TDOMDocumentType; FImplementation: TDOMImplementation; function GetDocumentElement: TDOMElement; pu

[fpc-pascal] exiting a program more friendly way

2006-06-22 Thread Pianoman
Hi, I'd like to ask whether is it possible to exit program in case of runtime error 202 for example more nicely than with message runtime error 202 at a1d456d5621blablabla For example: writeln('starting to divide:'); writeln(2/0); and I don't want mi program to stop with runtime error but I 'd

[fpc-pascal] Re: nano-x

2006-06-22 Thread Jeff Pohlmeyer
I am trying to convert nano-X.h to a pas file but I get some errors. This is 2 of them. I cannot se what the problem is, can anyone give me a hint. h2pas is not perfect, some things it doesn't understand, and other "C" things simply don't make sense in Pascal. So you will probably end up trans

Re: [fpc-pascal] Modify XML Document

2006-06-22 Thread dhkblaszyk
Felipe, Have a look at the lazdocfrm.pas file located in lazarus/ide. for a working example. Darius > Hello, > > I am trying to use the units XMLRead, XMLWrite, DOM to modify the > structure of a XML file. > > Reading the XML file is very easy and works very well, but I am lost > about how to m