Re: [fpc-pascal] crosscompile problems with current trunk and fixes_2_2 branch

2007-03-08 Thread Henry Vermaak

On 08/03/07, Terry Kemp <[EMAIL PROTECTED]> wrote:

On Thu, 2007-03-08 at 08:07 +0100, Peter Vreman wrote:
> > <..>
> > fpcmake -p -Tarm-linux Makefile.fpc
> > Processing Makefile.fpc
> > Error: Target "linux", package "fcl-base" not found
> > make[7]: *** [fpc_install] Error 1
> > make[7]: Leaving directory `/home/tmk/fpc/fixes_2_2/packages/fcl-db'
> > make[6]: *** [fcl-db_install] Error 2
>
> You need to update fpcmake on the host machine first.
>
thanks -
does this mean I should compile and install fixes_2_2 on host then use
this to do crossbuild?



i'd be interested to know if you can get this to work, terry.  i can
compile with fixes_2_2, but get seg faults and runtime errors on my
xscale board.  i'm waiting around nervously not wanting to write all
my nice fpc code over in c.

henry
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] XML-RPC Client

2007-03-08 Thread Michael Van Canneyt


On Wed, 7 Mar 2007, Johann Glaser wrote:

> Hi!
> 
> Today I wanted to run the XML-RPC example programs rpcserv and rpccli.
> The server starts well but the client doesn't seem to be up to date. I
> played around quite some time now but to no success.
> 
> What is the current status of XML-RPC client implementation?
> 
> Why is there a {$IFDEF NEVERTRUE} around the TXMLRPCClient in xmlrpc.pp?

No idea. It's not up to date. But I suggest you use the Pascal Web Services 
Toolkit;
It's on the Lazarus CCR site, and I can give you an article on how to use it.
(if you're german and read toolbox, it's in there, some time ago)

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] XML-RPC Client

2007-03-08 Thread Johann Glaser
Hi Michael!

> > Today I wanted to run the XML-RPC example programs rpcserv and rpccli.
> > The server starts well but the client doesn't seem to be up to date. I
> > played around quite some time now but to no success.
> > 
> > What is the current status of XML-RPC client implementation?
> > 
> > Why is there a {$IFDEF NEVERTRUE} around the TXMLRPCClient in xmlrpc.pp?
> 
> No idea. It's not up to date. But I suggest you use the Pascal Web Services 
> Toolkit;
> It's on the Lazarus CCR site, and I can give you an article on how to use it.
> (if you're german and read toolbox, it's in there, some time ago)

Thanks for the hint. Could you please send me the article?

Thanks
  Hansi


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Behavior of SizeOf function

2007-03-08 Thread Luiz Americo Pereira Camara

The result of a SizeOf(Pointer) is know at compile time.

Does fpc optimize it and treat as a constant or will call the SizeOf
function every time it appears?

Thanks in advance.

Luiz

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Behavior of SizeOf function

2007-03-08 Thread Daniël Mantione


Op Thu, 8 Mar 2007, schreef Luiz Americo Pereira Camara:

> The result of a SizeOf(Pointer) is know at compile time.
> 
> Does fpc optimize it and treat as a constant or will call the SizeOf
> function every time it appears?

Yes, it treats it as a constant.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal