Re: [fpc-pascal] Which programs or packages do I need to cross compile for 64bit Linux on 32 bit Linux?

2015-03-30 Thread leledumbo
> Which packages or group of programs are missing on my system? Binutils targetting x86_64-linux -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Which-programs-or-packages-do-I-need-to-cross-compile-for-64bit-Linux-on-32-bit-Linux-tp5721526p5721530.html Sent

Re: [fpc-pascal] Exceptions in Library

2015-03-30 Thread steveg
On 30/03/15 16:46, leledumbo wrote: As far as I can tell, exceptions propagate through to the main app - (written with Lazarus in this case). I would like to trap them directly within the library. // excp.pas library excp; {$mode objfpc} uses sysutils; procedure p; begin try raise exc

Re: [fpc-pascal] Does a single cross compiler for a CPU used for all operating systems?

2015-03-30 Thread Sven Barth
On 30.03.2015 21:33, vfclists . wrote: Does a single cross compiler for a CPU used for all operating systems? eg ppcross386 is the cross compiler for i386. Is it the same compiler that would be used whether the target was a 32bit Linux, OS/X or Win32, with different linkers and libraries used fo

[fpc-pascal] Does a single cross compiler for a CPU used for all operating systems?

2015-03-30 Thread vfclists .
Does a single cross compiler for a CPU used for all operating systems? eg ppcross386 is the cross compiler for i386. Is it the same compiler that would be used whether the target was a 32bit Linux, OS/X or Win32, with different linkers and libraries used for the final executable? -- Frank Church

[fpc-pascal] Which programs or packages do I need to cross compile for 64bit Linux on 32 bit Linux?

2015-03-30 Thread vfclists .
When I do 'make crossinstall OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=$THIS_BUILD_DIR/fpc' on 32 bit Linux I get this error : 'x86_64-linux-as: Command not found'. Which packages or group of programs are missing on my system? -- Frank Church === http://devblog.brahm

[fpc-pascal] Floor, Ceil and Int64

2015-03-30 Thread Bart
Hi, Floor and Ceil (math unit) only return integers. Should there be an overloaded one for Int64 as well? B = 111.000 Trunc(B)= 111 [0002964619C7] Frac(B) = 0.10687255859 Floor(B)= -1773790777 [964619C7] //expected:

[fpc-pascal] Re Raise Exception

2015-03-30 Thread Dimitrios Chr. Ioannidis
Hi all, I'm having problems with an application on a client with random A/V's. In order to understand what is going on, I wrote a simple web service client for my mantis tracker using wst, which works well and with the use of the information's from the wiki ( http://wiki.freepascal.org/Logg