[fpc-pascal] program interpreter for arm eabi is wrong

2009-04-16 Thread Terry Kemp
I can't seem to find the secret sauce that gives me program interpreter = ld-linux.so.3 for my arm eabi prgrams so I am having to symlink /lib/ld-linux.so.2 to /lib/ld-linux.so.3 on my gumstix. It used to work for me with the FPC_ARMEL ifdef in tlinux.pas {$ifdef arm} {$ifdef FPC_ARMEL}

Re: [fpc-pascal] widestring related? problem on arm (2.3.1)

2008-11-03 Thread Terry Kemp
On Mon, 2008-11-03 at 19:14 +0100, Jonas Maebe wrote: On 03 Nov 2008, at 01:06, Terry Kemp wrote: I'm getting a runtime error 231 when starting program on arm. Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9). Do I need to define something on arm for widestrings? Run

Re: [fpc-pascal] widestring related? problem on arm (2.3.1)

2008-11-03 Thread Terry Kemp
On Mon, 2008-11-03 at 19:14 +0100, Jonas Maebe wrote: On 03 Nov 2008, at 01:06, Terry Kemp wrote: I'm getting a runtime error 231 when starting program on arm. Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9). Do I need to define something on arm for widestrings? Run

[fpc-pascal] widestring related? problem on arm (2.3.1)

2008-11-02 Thread Terry Kemp
I'm getting a runtime error 231 when starting program on arm. Stems from ANSI2WIDEMOVE in cwstring.pp returning ESysEBADF (9). Do I need to define something on arm for widestrings? Thanks Terry [EMAIL PROTECTED]:~$ project2 -qws [HINT] TWinControl.CreateWnd creating Handle during loading

Re: [fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues

2008-05-30 Thread Terry Kemp
On Fri, 2008-05-30 at 12:25 +0530, Nataraj S Narayan wrote: Hi Florian and other friends I am involved in porting existing C code to Arm Linux for AT91SAM9263 Ek board with 340x220 display. I need to write lots of console kinda apps. I am using a qemu-system-arm emulated Armel Debian

Re: [fpc-pascal] Re: softfloat bug?

2007-03-18 Thread Terry Kemp
On Thu, 2007-03-15 at 13:28 +, Henry Vermaak wrote: update: this happens if i try FloatToStrf of any negative number. works with positive numbers, though. henry If it helps to isolate problem (anyone?)... it seems to work if the variable is declared as float type 'currency' but not for

Re: [fpc-pascal] arm big endian questions and info

2007-03-14 Thread Terry Kemp
On Tue, 2007-03-13 at 13:08 +, Henry Vermaak wrote: it's very easy to flash the slug with little endian firmware. i can use latest (well, latest is broken now, use 6811) compiled with soft float on mine without problems now. maybe this is a solution for you? Yeah you are right! I thought

Re: [fpc-pascal] arm big endian questions and info

2007-03-12 Thread Terry Kemp
On Mon, 2007-03-12 at 16:41 +, Henry Vermaak wrote: these results are (everything compiled with -CfSOFT for big endian): 1) writeln('Hello World') outputs Hello WorldHello W. all other writeln and readln calls seem to work after that. 2) i get Runtime error 207 when i

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

2007-03-07 Thread Terry Kemp
Current trunk (revision 6747) fails on... $ make distclean crosszipinstall CPU_TARGET=arm CROSSINSTALL=1 OPT=-CfSOFT BINUTILSPREFIX=arm-xscale-linux-gnu- .. /home/tmk/fpc-211/fpc/compiler/ppcrossarm -Ur -Parm -XParm-xscale-linux-gnu- -Xc -Xr -XX -CX -Ur -Xs -O2 -n -Fi../inc -Fi../arm

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

2007-03-07 Thread Terry Kemp
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]:

[fpc-pascal] Boolean case statement

2006-12-05 Thread Terry Kemp
Hi All how do you do a case statement on a record of booleans e.g... Type EngModeRec = Record ManualOp: Boolean; LeakTest: Boolean; DrainFlush: Boolean; end; var EngMode: EngModeRec; I want to have... Case True of EngMode.ManualOp: ManualOpRun; EngMode.LeakTest: LeakTestRun;

Re: [fpc-pascal] Boolean case statement

2006-12-05 Thread Terry Kemp
On Tue, 2006-12-05 at 22:44 +0100, Vincent Snijders wrote: Terry Kemp schreef: Hi All how do you do a case statement on a record of booleans e.g... You cannot use it like that. You would have to use an nested if then statement like: if EngMode.ManualOp then ManualRun else

[fpc-pascal] fpc arm big endian help

2006-10-23 Thread Terry Kemp
Hi all I'm working on some code for the NSLU2 'slug'. How do I get ppcarm to compile in big endian mode? I have done it once before but I've lost the magic wand somewhere. Do I need to build from source as in a post I saw on devel list... change system_arm_linux_info.endian to endian_big in

[fpc-pascal] fpc arm crossbuild error

2006-10-23 Thread Terry Kemp
I have removed the FC5 rpm versions of fpc and installed the source and x86_64 binary so everything is the same... # fpc Free Pascal Compiler version 2.0.4 [2006/08/20] for x86_64 invocation is... # make clean CPU_TARGET=arm CROSSINSTALL=1 # make crossall CPU_TARGET=arm OS_TARGET=linux I am

[fpc-pascal] fpPause function not working on 2.0.2 [2005/12/21] for x86_64

2006-03-08 Thread Terry Kemp
The fppause function doesn't seem to work anymore. It just goes straight through with no delay at all. I'm sure I have had this working previously (using oldlinux unit). Can anyone confirm if this works on 32 bit fpc. thanks Terry Free Pascal Compiler version 2.0.2 [2005/12/21] for x86_64 {

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Terry Kemp
On Thu, 2006-02-02 at 09:31 +0100, Michael Van Canneyt wrote: I can send you a project which does exactly this for the FPC testsuite. The code is 100% FPC, no external libraries. Michael. Please yes! Send to me off list. Cheers Terry ___

Re: [fpc-pascal] Is there anything like PyChart for FPC?

2006-02-02 Thread Terry Kemp
The unit you want is utest.pp and the method is CreateRunPie() and DoDrawPie(). It uses a TFPMemoryImage/TFPImageCanvas to draw on, so all methods you are used to in Lazarus should be there. Michael. Perfect. That has saved me days / weeks of head banging frustration ;) Thanks a lot.

[fpc-pascal] Is there anything like PyChart for FPC?

2006-02-01 Thread Terry Kemp
Hi, I have been playing with cgitest and got it working. Now I would like to create dynamic line graphs on a web page from mysql database (in FPC of course). Any clues on how to get started here? Terry ___ fpc-pascal maillist -