[FPC-pascal] strace on Arm

2008-06-08 Thread Nataraj S Narayan
Hi I get the following strace out put when executing a fpc cross compiled binary using ppcrossarm (generated from latest fpc svn using following script :- #!/bin/bash ALLOPTS="CPU_TARGET=arm OS_TARGET=linux BINUTILSPREFIX=arm-linux- CROSSBINDIR=/home/nataraj/arm-2008q1/bin FPC=/usr/local/bin/ppc

Re: [fpc-pascal] XML DOM and HTML

2008-06-08 Thread Michael Van Canneyt
On Sun, 8 Jun 2008, Johannes Nohl wrote: > Dear list, dear Michael! > > > There are multiple problems with HTML parsing: HTML is not a well-formed > > XML document, because > > - the tags are case insensitive (in XML they are case sensitive) > > - Not all tags must be closed. > > If the HTML is

Re: [fpc-pascal] XML DOM and HTML

2008-06-08 Thread Johannes Nohl
Dear list, dear Michael! > There are multiple problems with HTML parsing: HTML is not a well-formed > XML document, because > - the tags are case insensitive (in XML they are case sensitive) > - Not all tags must be closed. > If the HTML is XHTML, then the DOM unit can be used to parse it. But ho

Re: [fpc-pascal] Install in FreeBSD7 amd64

2008-06-08 Thread Jonas Maebe
On 08 Jun 2008, at 13:34, Eduardo Morras wrote: I have upgraded my computer from x86 32 bits Freebsd 6.2 to a new amd64 with FreeBsd 7.0 64 bits (both, os and processor to 64 bits). When i try to install fpc i get an error saying that it can't be installed in 64 bits. Is this a known issue

[fpc-pascal] Install in FreeBSD7 amd64

2008-06-08 Thread Eduardo Morras
Hello: I have upgraded my computer from x86 32 bits Freebsd 6.2 to a new amd64 with FreeBsd 7.0 64 bits (both, os and processor to 64 bits). When i try to install fpc i get an error saying that it can't be installed in 64 bits. Is this a known issue? Is there a 64 bits fpc? TIA

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Marc Santhoff
Am Sonntag, den 08.06.2008, 12:52 +0200 schrieb Michael Van Canneyt: > > On Sun, 8 Jun 2008, Marc Santhoff wrote: > > > Hi again, > > > > I have more questions on linking. What can prevent dynamic linking from > > being possible? Like in the following snippet from fpcdebug.txt: > > > > 8000

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Marc Santhoff
Am Sonntag, den 08.06.2008, 12:35 +0200 schrieb Marc Santhoff: > > > Another part is to adapt the declaration of variables. Currently they > > > are defined like this: > > > > > > H5T_NATIVE_SCHAR_g : hid_t;cvar;external; > > > > > > and as you can see in the fpcdebug.txt the name mangling is wro

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Michael Van Canneyt
On Sun, 8 Jun 2008, Marc Santhoff wrote: > Hi again, > > I have more questions on linking. What can prevent dynamic linking from > being possible? Like in the following snippet from fpcdebug.txt: > > 8000:Searching file D:\FPC\2.2.0\BIN\I386-WIN32\libhdf5.dll.a... not found > 8000:Sear

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Marc Santhoff
Am Sonntag, den 08.06.2008, 11:34 +0200 schrieb Michael Van Canneyt: > > On Sat, 7 Jun 2008, Marc Santhoff wrote: > > > Am Samstag, den 07.06.2008, 10:24 +0200 schrieb Michael Van Canneyt: > > > > > > On Sat, 7 Jun 2008, Marc Santhoff wrote: > > > > > > > Hi, > > > > > > > > I still have no su

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Marc Santhoff
Hi again, I have more questions on linking. What can prevent dynamic linking from being possible? Like in the following snippet from fpcdebug.txt: 8000:Searching file D:\FPC\2.2.0\BIN\I386-WIN32\libhdf5.dll.a... not found 8000:Searching file hdf5.dll... found 8000:unit H5_ATTRIBUTE ca

Re: [fpc-pascal] linking to dll still fails

2008-06-08 Thread Michael Van Canneyt
On Sat, 7 Jun 2008, Marc Santhoff wrote: > Am Samstag, den 07.06.2008, 10:24 +0200 schrieb Michael Van Canneyt: > > > > On Sat, 7 Jun 2008, Marc Santhoff wrote: > > > > > Hi, > > > > > > I still have no success in linking against a dll on windows. > > > > > > The dll import source looks like