Re: [fpc-pascal] looking for a book - "XLIB Programming Manual Rel.5 Volume One"

2010-11-03 Thread Marten Feldtmann
They seem to be (in used condition) available via amazon (as I looked today). Marten Am 04.11.2010 07:20, schrieb Graeme Geldenhuys: Hi, Anybody know where I can purchase this book in paper or eBook format? I emailed O'Reilly Customer Support, and they told me the book is out of print and th

[fpc-pascal] looking for a book - "XLIB Programming Manual Rel.5 Volume One"

2010-11-03 Thread Graeme Geldenhuys
Hi, Anybody know where I can purchase this book in paper or eBook format? I emailed O'Reilly Customer Support, and they told me the book is out of print and they don't have an eBook version. I'm located in South Africa, so I would need a supplier that will be willing to ship to here too (if it is

RE: [fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

2010-11-03 Thread Julien Devillers
as does not exists on my system. Julien - Ok, I Found them. thanks Julien __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5588 (20101103) __ Le

RE: [fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

2010-11-03 Thread Julien Devillers
s on my system. Julien __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5588 (20101103) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com ___ fpc-pascal maillist - fpc-pasc

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Michael Van Canneyt
On Wed, 3 Nov 2010, Fred Flinestone wrote: On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt wrote: You must recompile the RTL with debug information, and then recompile your project. I am using Ubuntu 10.04 with create_fpc_deb.sh script to get FPC DEB package and this script doesn't

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Fred Flinestone
On Wed, Nov 3, 2010 at 9:17 AM, Michael Van Canneyt wrote: > You must recompile the RTL with debug information, and then recompile your > project. > > I am using Ubuntu 10.04 with create_fpc_deb.sh script to get FPC DEB package and this script doesn't have option to set OPT=-gl to build debug ve

Re: [fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

2010-11-03 Thread Jonas Maebe
On 03 Nov 2010, at 13:55, Julien Devillers wrote: I tried to build everything from scratch with fpc source code, but I did not find the correct make target. How should I do ? make OS_TARGET=linux CPU_TARGET=x86_64 clean all Jonas ___ fpc-pascal

[fpc-pascal] Cross-Compiling win32 -> Linux 64, how to get the cross compiler ?

2010-11-03 Thread Julien Devillers
Hello I'm working on a project which cross compile from win32 to linux64. Today it uses FPC-2.1.5. I need to move to fpc 2.4.0. I downloaded fpc-2.4.0.i386-win32.exe and after some attemps, I understood that I did not have everything to cross compile (units dir and some exes). I tried with

Re: [fpc-pascal] Re: Endian issues when porting FPC programs from x86 to other platforms

2010-11-03 Thread Thomas Schatzl
Hi, On Tue, 02 Nov 2010 23:49:03 +0100, Bo Berglund wrote: > On Tue, 02 Nov 2010 22:53:21 +0100, Vinzent Höfler > wrote: > >>On Tue, 02 Nov 2010 21:39:31 +0100, Felipe Monteiro de Carvalho >> wrote: >> >>> On Tue, Nov 2, 2010 at 7:04 PM, Bo Berglund >>> wrote: Thanks, that helps a lot

Re: [fpc-pascal] Re: Endian issues when porting FPC programs from x86 to other platforms

2010-11-03 Thread Bernd Mueller
Jonas Maebe wrote: On 02 Nov 2010, at 21:39, Felipe Monteiro de Carvalho wrote: On Tue, Nov 2, 2010 at 7:04 PM, Bo Berglund wrote: Thanks, that helps a lot! Are there also overloaded BEtoN functions for floating point values? I think that single and double have always the same binary layout.

[fpc-pascal] Endian issues when porting FPC programs from x86 to other platforms

2010-11-03 Thread _-jane-_
Hello! In order to address the endian problem I use some auxiliary types to access the entities: (* Standard types *) type t_32u=longint; // 32 bit unsigned t_bool=boolean; (* Endian types *) (*$a1 *) type t_intel_32u=object // Delphi forbids "packed object"; trusting $a1 instead...

Re: [fpc-pascal] TReader.ReadProperty

2010-11-03 Thread Michael Van Canneyt
On Wed, 3 Nov 2010, Fred Flinestone wrote: hi all, i am trying to replace the code from delphi to fpc where the code looks like: TYPE THackReader =class(TReader); ... FReaderStream.Position := 0; {$IFDEF FPC} try FReader.ReadListBegin; while not FReader.EndOfList do begi