[fpc-pascal] linker error when cross compile for arm

2010-11-05 Thread Michael Fung
Dear all, I followed the wiki at: http://wiki.lazarus.freepascal.org/Setup_Cross_Compile_For_ARM After that, I can compile a hello world program for arm without problem, great! But when I try to compile a program with the synapse units it gives the following error: /usr/lib/fpc/2.5.1/units/ar

Re: [fpc-pascal] variables in class, class variables and fields

2010-11-05 Thread José Mejuto
Hello FPC-Pascal, Friday, November 5, 2010, 8:54:08 PM, you wrote: i> Following the bug discovered in the class variables (on fpc devel), I i> actually would like to know the need (or usage) for variables and class i> variables in a class (I know it's a delphi thingy, but still). i> Furthermore,

[fpc-pascal] variables in class, class variables and fields

2010-11-05 Thread ik
Hello, Following the bug discovered in the class variables (on fpc devel), I actually would like to know the need (or usage) for variables and class variables in a class (I know it's a delphi thingy, but still). Furthermore, why can't I create a class field, so the field will have the same value

[fpc-pascal] Problems with "relocation errors"

2010-11-05 Thread Krzysztof
Hi, I often write shared library (DLL and SO). With DLL I have no serious problems, but with SO I often have "relocation R_X86_64_32S" error. If I use lazarus standard packages (LCL, etc.) then is ok, but If I try to use some external components (for example lNET, RichMemo) then I get this error.

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

2010-11-05 Thread Bo Berglund
On Fri, 05 Nov 2010 11:07:55 +0100, Bo Berglund wrote: >On Wed, 03 Nov 2010 10:50:10 +0100, Thomas Schatzl > wrote: > >>Coming back to the suggestion from jonas: >> >>function BEtoN(const AValue : single) : single; >>type >> TData = packed record >>case integer of >> 0 : (s : single); >

[fpc-pascal] Re: GDB

2010-11-05 Thread leledumbo
Seems like the gdb library is compiled with python scripting support. Either recompile without python or add python library to the linker. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/GDB-tp3249812p3251636.html Sent from the Free Pascal - General mailing list

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

2010-11-05 Thread Bo Berglund
On Wed, 03 Nov 2010 10:50:10 +0100, Thomas Schatzl wrote: >Coming back to the suggestion from jonas: > >function BEtoN(const AValue : single) : single; >type > TData = packed record >case integer of > 0 : (s : single); > 1 : (l : longint); > end; >var > d : TData; >begin > d.s :