Re: [fpc-pascal]How to convert between double and extended?

2004-08-14 Thread Mattias Gaertner
On Sun, 15 Aug 2004 00:11:16 +0200 Jonas Maebe <[EMAIL PROTECTED]> wrote: > > On 14 aug 2004, at 19:34, Mattias Gaertner wrote: > > > How can I convert between PowerPC double and i386 Extended on a > > powerpc? > > For example: I want to save a Double under powerpc to a stream as i386 > > Exte

Re: [fpc-pascal]FPC 1.9.4: fpc.cfg and Linux unit.

2004-08-14 Thread Olle Raab
04-08-14 18.54, skrev Marco van de Voort följande: >> 1) I have one problem with 1.9.4 compared to 1.0.10: >> The Linux unit seems not to be recognized properly; the 'stat' record >> type seems to be undefined, f.ex.: > > 1.9.x has a brand new unix rtl, most calls are now in baseunix/unix and > p

Re: [fpc-pascal]How to convert between double and extended?

2004-08-14 Thread Jonas Maebe
On 14 aug 2004, at 19:34, Mattias Gaertner wrote: How can I convert between PowerPC double and i386 Extended on a powerpc? For example: I want to save a Double under powerpc to a stream as i386 Extended and read it under i386 as Extended. Are there already some conversion functions to convert bet

[fpc-pascal]How to convert between double and extended?

2004-08-14 Thread Mattias Gaertner
Hi, How can I convert between PowerPC double and i386 Extended on a powerpc? For example: I want to save a Double under powerpc to a stream as i386 Extended and read it under i386 as Extended. Are there already some conversion functions to convert between the various floating point formats? Ma

Re: [fpc-pascal]FPC 1.9.4: fpc.cfg and Linux unit.

2004-08-14 Thread Marco van de Voort
> 1) I have one problem with 1.9.4 compared to 1.0.10: > The Linux unit seems not to be recognized properly; the 'stat' record > type seems to be undefined, f.ex.: 1.9.x has a brand new unix rtl, most calls are now in baseunix/unix and prefixed with "fp" For urgent 1.0.x legacy, the 1.0.x linux

[fpc-pascal]FPC 1.9.4: fpc.cfg and Linux unit.

2004-08-14 Thread Arne Hanssen
1) I have one problem with 1.9.4 compared to 1.0.10: The Linux unit seems not to be recognized properly; the 'stat' record type seems to be undefined, f.ex.: Free Pascal Compiler version 1.9.4 [2004/05/30] for i386 Copyright (c) 1993-2004 by Florian Klaempfl Target OS: Linux for i386 Compiling sou

[fpc-pascal]base64 decoding with fpc 1.9.4

2004-08-14 Thread Moritz Gerlach
Hi there, since I'm using fpc 1.9.4 instead of 1.0.10 I'm not able to decode an base64 string with FCL anymore. The output of b64dec.pp has correct size but incorrect content: Every third charakter seems to be replaced by #20, e.g. "Hello World" is now "<20>el<20>o <20>or<20>d" Does anybody out t