Re: [fpc-pascal] XML-RPC and SOAP parsers

2009-11-03 Thread Vincent Snijders
ik schreef: Hello, Are there any parsers for SOAP and XML-RPC (and works in Linux) that written in pure Pascal ? For XML-RPC I'm looking for implementation also for the "name" tag and not only the "value" tag. See: http://lists.lazarus.freepascal.org/pipermail/lazarus/2009-November/04629

[fpc-pascal] XML-RPC and SOAP parsers

2009-11-03 Thread ik
Hello, Are there any parsers for SOAP and XML-RPC (and works in Linux) that written in pure Pascal ? For XML-RPC I'm looking for implementation also for the "name" tag and not only the "value" tag. Thanks, Ido http://ik.homelinux.org/ ___ fpc-pascal m

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-03 Thread Marco van de Voort
In our previous episode, "Vinzent H?fler" said: > > > Accessing ports is limited to ports < 03ffh, more ports cannot be > > released with fpioperm. This means to me, successful serial port access > > on higher addresses cannot yet be implemented with fpc. > > Or any other compiler, for that mat

[fpc-pascal] Re: cross compiling x64_64 to i386 linux

2009-11-03 Thread Seth Grover
> You might have to tell it simply NOT to look in /usr/lib > > E.g. like described in paragraph 3.4.1 of the buildfaq: > > http://www.stack.nl/~marcov/buildfaq.pdf > Thank you! That seemed to get me past the rest of my errors. The final working command was: /usr/local/bin/fpc -Xd -Pi386 -XPi386-l

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-03 Thread Henry Vermaak
2009/11/3 Marc Santhoff : > > I don't know wheter todays Lunix systems have static device nodes seen > here for ttys or if they are created dynamically and the rights have to > be set in some configuration file - consult your systems docs or a good > tutorial or book an those questions. The permis

Re: [fpc-pascal] using softfloat on i386

2009-11-03 Thread Marc Santhoff
Am Dienstag, den 03.11.2009, 11:30 +0100 schrieb Florian Klaempfl: > Marc Santhoff schrieb: > > Hi, > > > > after finding the floating point calculations implementation for fpc[1] > > I'm asking myself if it is possible to force fpc to use it although the > > CPU does actually have a FPU built in.

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-03 Thread Marc Santhoff
Am Dienstag, den 03.11.2009, 09:39 +0100 schrieb Tomas Hajny: > On Tue, November 3, 2009 02:33, Holger Bruns wrote: > > Brad Campbell schrieb: > >> > >> Why not try attaching your test code that is failing so we can help > >> you get it working? > > > > Done. My fault was the following declaration:

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Gustavo Enrique Jimenez
2009/11/3 Holger Bruns : > Jonas Maebe schrieb: >> >> And regarding your later remark about FPC only being usable as root: it's >> the Linux kernel that only allows direct port access by root. Please stop >> blaming every single one of your problems on the compiler or the RTL. > > Under the bottom

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-03 Thread Henry Vermaak
2009/11/3 Holger Bruns : > in trouble with it. Secondly, it appears to be necessary to use the fpc > compiler as "root", not simply as a user, I guess. You need permissions to access any files on linux. Device nodes are files, too. This is what it looks like on debian: h...@technical09:~/source

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Jeff Wormsley
Holger Bruns wrote: Under the bottom line, the result is just the same. You need to become a superuser on a linux system, if you want to compile source code for accessing ports directly, regardless of the compiler or any other tool. All modern OS's have this restriction. Even on Windows, after

Re: [fpc-pascal] using softfloat on i386

2009-11-03 Thread Florian Klaempfl
Marc Santhoff schrieb: > Hi, > > after finding the floating point calculations implementation for fpc[1] > I'm asking myself if it is possible to force fpc to use it although the > CPU does actually have a FPU built in. > > How can this be done? Try to build the rtl with OPT=-Cfsoft, it might wo

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Holger Bruns
Jonas Maebe schrieb: And regarding your later remark about FPC only being usable as root: it's the Linux kernel that only allows direct port access by root. Please stop blaming every single one of your problems on the compiler or the RTL. Under the bottom line, the result is just the same. Yo

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Jonas Maebe
Holger Bruns wrote on Tue, 03 Nov 2009: Jonas Maebe schrieb: The next release of FPC will include a version of the x86 unit for Linux/x86_64. In general, if a unit is not available in a precompiled version for your platform, the reason is that it does not work. Unless you intend to fix/rew

Re: [fpc-pascal] Access to RS232 ports with fpc

2009-11-03 Thread Tomas Hajny
On Tue, November 3, 2009 02:33, Holger Bruns wrote: > Brad Campbell schrieb: >> >> Why not try attaching your test code that is failing so we can help >> you get it working? > > Done. My fault was the following declaration: > > var inbuffer: array of char; > > This is a better declaration: > > var

Re: [fpc-pascal] x86.pp and oldlinux.pp

2009-11-03 Thread Marco van de Voort
In our previous episode, Holger Bruns said: > > I decided to copy all the necessary files for x86.pp and oldlinux.pp > into one directory for compiling these two units. This compilation > failed due to syntax errors. A bunch of warnings also appeared. I post > only the syntax error messages: -