Re: [fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread darekm
I use this binutils http://www.gnu.org/software/binutils/ using this command to build crosscompiler make clean crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT=-dFPC_ARMEL -O- -gl CROSSOPT=-dANDROID -CpARMv6 -gl -CfSOFT -O- CROSSOPT=-dANDROID -CpARMv6

Re: [fpc-pascal] assigning ansistring with shortstring

2006-05-26 Thread DarekM
L505 napisaƂ(a): I'm lacking some memory concept here. Below program doesn't work unless setlengths are called first on the shortstrings. program Project1; {$mode objfpc}{$H+} var filename: string; last3: string[3]; last4: string[4]; this is not short strings use last3:

[fpc-pascal] hot pass $LCL_PLATFORM to fpc.cfg from command line

2006-04-20 Thread darekM
Hi I want to pass directive from command line to fpc.cfg in fpc.cfg I have something like this -Fu/home/me/project1/units/$LCL_PLATFORM and I want to compile my program form command line fpc -dRELEASE myprogram how setup $LCL_PLATFORM Darek

[fpc-pascal] ASM jump parse error

2005-12-17 Thread darekM
Hi I've badly submit 4612 bug Should be: Title:ASM jump parse error in Description: in assembler fastcodemoveunit.pas(214,34) Error: Unknown identifier @FWDJUMPTABLE fastcodemoveunit.pas(256,21) Error: Local symbols/labels aren't allowed as references F in Linux FPC can't compile line: