Re: [fpc-pascal] Rest in peace Martin Schreiber
RIP Martin! Nataraj S Narayan Synergy Info Systems Software & Technology Consultants Ettumanoor, INDIA Ph:+91 9443211326 On Thu, Dec 27, 2018 at 9:18 AM Dennis wrote: > > > Graeme Geldenhuys wrote: > > Hi everybody, > > > > Today I became aware of very sad news. Martin Schreiber, author of the > > MSEide+MSEgui project, has unexpected succumbed of cardiac arrest on 29 > > November 2018. He was an avid FPC and Pascal Language supporter, and > > very knowledgeable in his field. He will definitely be missed by many. > > Our hearts and prayers go out to his family and friends. > > > > Rest in peace Martin Schreiber. > > > > > > Regards, > >Graeme > > > That is horrible news. How can someone pass away so suddenly? So sad. > My condolences to his friends and family. > > Dennis > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] How to use fpGUI?
Graeme Sorry for butting in. But wanna ask:- Does the latest fpgui have TFpgStringGrid have the method 'LoadFromCSVFile' as in lcl TStringGrid? Is it trivial to add? warm regards Nataraj On Sun, Jul 20, 2014 at 3:17 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: On 2014-07-20 04:50, Holger Aschmann wrote: I write my programs in Free Pascal on NotePad, and I don't like to use Lazarus. NotePad is an interesting choice. In a push I would maybe prefer Free Pascal's Text IDE before I use NotePad. I'll give you the benefit of the doubt and believe you are referring to NotePad++ instead. ;-) Is there any possibility to use fpGUI, or doesn't it work without Lazarus? Yes of course you can use fpGUI without Lazarus. fpGUI doesn't depend on any IDE or editor. To make compiling easier from the command line, fpGUI includes compilation scripts for the framework. It also includes extrafpc.cfg files in the examples directory which sets some last minute paths and compiler options. These *.cfg files are handy for your own projects too. eg: cd fpgui/examples/apps/ide/src/ fpc @extrafpc.cfg maximus.lpr I recommend you use the latest fpGUI source code from the Git repository: git clone https://github.com/graemeg/fpGUI.git I've just started the v1.2 release branch for testing. The docs/INSTALL.txt file describes how to compile fpGUI, and how to use it from various IDE's (FP Text IDE, Lazarus, MSEide, Maximus - fpGUI's own demo app) or from the command line. If you have any further questions, don't hesitate to pop over to the support newsgroup. There are many fpGUI users more than willing to help you along the way. The following URL has details for the newsgroup. [http://fpgui.sourceforge.net/support.shtml] Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Lazarus better than delphi
Hi Few years back I wrote a kinda poem in the fpc lists, which was more like a poke at the ribs of the fpc developers.At times them were bit rude answering to some mails. I reproduce it here for yours enjoyment. Some day they gonna tell ya there was this clone of FreePascal, and, twas was called Delphi... Till then we Shan't be cocky and vain regards Nataraj On Thu, Mar 20, 2014 at 10:36 PM, m...@rpzdesign.com m...@rpzdesign.com wrote: I have been using Delphi 7 forever. I evaluated Delphi xe5 Update 2. Today, I use Lazarus 1.2 and FPC 2.6.2. Lazarus/FPC is just better than Delphi. All development on Mac/Windows is now with Lazarus. You FPC/Lazarus guys ROCK. Best wishes for 2014. md ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Free Pascal/Delphi developers or service companies needed in South Africa
Hi Graeme Do I fit in? My recent exploits are about modifying Phoenix mail, adding some sqlite backend support. warm regards Nataraj, INDIA On Mon, Oct 21, 2013 at 1:53 PM, Graeme Geldenhuys gra...@geldenhuys.co.ukwrote: Hi, Master Maths [head office] is based in Somerset West, South Africa. They are looking for talented Free Pascal or Delphi developers in the greater Cape Town area. Unfortunately no remote work outside the South African borders. Contract or Permanent developers are welcome. Master Maths is also interested to hear from any companies that offer Delphi or Free Pascal programming services – preferably the greater Cape Town area, but nationally will also be considered. If you or your company fit this criteria and might be interested in working with Master Maths, can you please reply to my work email (not the forum or mailing list). If you don't represent a company then can you attach your CV as well. My work email is: graeme at mastermaths dot co dot za Info on the Master Maths company can be found at: http://www.mastermaths.co.za Regards, - Graeme - __**_ fpc-pascal maillist - fpc-pascal@lists.freepascal.**orgfpc-pascal@lists.freepascal.org http://lists.freepascal.org/**mailman/listinfo/fpc-pascalhttp://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] I just signed “Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee ”
Hey, I just signed the petition Speaker of the Lok Sabha Shrimati Meira Kumar: Send the RTI (Amendment) Bill, 2013 to a Standing Committee/Select Committee and wanted to see if you could help by adding your name. Our goal is to reach 15,000 signatures and we need more support. You can read more and sign the petition here: https://www.change.org/petitions/speaker-of-the-lok-sabha-shrimati-meira-kumar-send-the-rti-amendment-bill-2013-to-a-standing-committee-select-committee?share_id=itCLzolXBIutm_source=share_petitionutm_medium=emailutm_campaign=petition_invitation Thanks! Nataraj You're receiving this message because Nataraj S Narayan sent you an email through Change.org's petition sharing tool. Change.org has not stored your email address. If you believe you have received this message in error, respond directly to Nataraj S Narayan at natara...@gmail.com.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] More Filter Madness
Hi Good candidate for recursive algorithm i think. regards Nataraj On Fri, Oct 14, 2011 at 6:23 AM, Ko Hashiguchi ko.d.hashigu...@gmail.com wrote: Mine is more of a programming problem, rather than one native to Pascal, but here goes: I have a text file with many Double values. Looking more or less like below, but with hundreds of entries... 1.5 3.25 7.54 10.33 2.22 The values listed are only for illustration. What I need to do is read the values in the first file and sum them up such that the output file starts with the first value, the second entry in the output file is the sum of the first AND second values, the third entry in the output file is the sum of the first, second and third values of the input file: 1.5 4.75 (1.5 + 3.25) 12.29 (1.5 + 3.25 + 7.54) 22.62 (1.5 + 3.25 + 7.54 + 10.33) 24.84 (1.5 + 3.25 + 7.54 + 10.33 + 2.22) The process of summing up continues to the end of the file. I figure this is a program loop problem, rather than a Pascal problem, but it's beyond me. I would greatly appreciate assistance. Thank you, Ko Hashiguchi ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] More Filter Madness
Hi Many of us from south Asian countries in here ought to be in their middles ages! I am 45. Since many of us might have started out in our late twenties in Delphi, natural progression to be here in fpc in our autumn days of life. regards Nataraj On Fri, Oct 14, 2011 at 8:30 AM, Ko Hashiguchi ko.d.hashigu...@gmail.com wrote: Graeme, No apology necessary. I am 56 years old, I have to (because of lack of money) write my own utilities, and I am too old to take up programming as a profession. But I am NOT too old to program! I just need help every now and then. I am the same Ko Hashiguchi who asked for help with delimited ASCII files on this forum some months ago. You gentlemen have been very helpful, and I appreciate it! Ko Hashiguchi On Fri, Oct 14, 2011 at 12:19 AM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On 14/10/2011 09:09, Ko Hashiguchi wrote: Call me an old fart who just needed the help. Please accept my apology then. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] SDL example
Hi I am on fpc/packages/sdl/examples. # ppcrossarm demo03.pas -darm -XD -CX Free Pascal Compiler version 2.5.1 [2011/03/01] for arm Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for ARM Compiling demo03.pas Assembling demo03 Linking demo03 /uclibc-tc/arm-linux-ld: warning: link.res contains output sections; did you forget -T? /uclibc-tc/arm-linux-ld: cannot find -lX11 demo03.pas(284) Error: Error while linking demo03.pas(284) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Since I am linking against SDL library which uses DirectFB on Arm, I don't need X. How do I disable -lX11 from linking? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] SDL example
Hi I had copied it from SDL4Freepascal (http://sourceforge.net/projects/sdl4fp/). It works well on i386. regards Nataraj On Wed, Apr 20, 2011 at 11:54 AM, Michael Van Canneyt mich...@freepascal.org wrote: Which sources are this ? I looked in todays SVN, and I find neither examples, nor a dependency on X11 in the sdl package. In fact, the whole FPC package sources do not contain a demo03.pas file. (unless SVN and my harddrive are screwed up) Michael. On Wed, 20 Apr 2011, Nataraj S Narayan wrote: Hi I am on fpc/packages/sdl/examples. # ppcrossarm demo03.pas -darm -XD -CX Free Pascal Compiler version 2.5.1 [2011/03/01] for arm Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for ARM Compiling demo03.pas Assembling demo03 Linking demo03 /uclibc-tc/arm-linux-ld: warning: link.res contains output sections; did you forget -T? /uclibc-tc/arm-linux-ld: cannot find -lX11 demo03.pas(284) Error: Error while linking demo03.pas(284) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Since I am linking against SDL library which uses DirectFB on Arm, I don't need X. How do I disable -lX11 from linking? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Synaser on ARM
Markus Are you using Angstrom tool chain on Gumstix Overo? Is it uclibc based? I do have my share of woes on Codesourcery TC for fpc. regards Nataraj On Mon, Feb 14, 2011 at 4:28 PM, greim gr...@schleibinger.com wrote: Hi a short howto for all trying to use the serial port on ARM Linux After fighting several hours i was able to cross-compile for ARM (OMAP 3 Gumstix Overo) Most helpful (but not totally right for the OMAP i think) was: http://www.eilers.net/index.php?option=com_contentview=articleid=78Itemid=55 but some hints why and not only how would be fantastic I was trying to compile a program for the serial port using the fantastic synaser.pas from Lukas Gebauer http://www.ararat.cz/synapse/doku.php/download unfortunately the linker always reported an error. After several hours more i found a hint at http://www.turbocontrol.com/simpleserial.htm from Paul Brenemann removing the USE synafpc.pas from synaser.pas (is not used at all in the Linux version) In termios.inc Baud symbols over 460800 are not defined for target cpuarm , so this must also adopted in the synaser.pas. Now it is linking and running, great! Regards Markus Greim ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] inline asm in fpc progran
Hi Jonas I tried a very elementary code on arm-linux-uclibc, compiled using ppcrossarm -TLinux -darm ttt3.pas -CfSOFT -XParm-linux- -XR/cdrom program kuraj; begin writeln('Hooua'); end. The asm listing using -al is here: - http://pastebin.com/CG9i0x3z It dont work in the normal EABI kernel but works on OABI compat one. I got ppcrossarm using :- gmake distclean crosszipinstall CPU_TARGET=arm OS_TARGET=linux CROSSOPT='-CfSOFT -darm -dFPC-ARMEL -gl' FPC=/usr/local/lib/fpc/2.5.1/ppc386 warm regards Nataraj On Fri, Aug 20, 2010 at 6:51 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 20 Aug 2010, at 15:00, Nataraj S Narayan wrote: On Fri, Aug 20, 2010 at 2:38 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: You probably need the nostackframe directive, or remove the mov pc,lr at the end. Compile the code with -al, compile equivalent Pascal code with -al and look at the differences in the generated .s files. I changed the kernel to old 2.6.30 and the code works on the Arm target! That kernel has been compiled with CONFIG_OABI_COMPAT=y. Newer kernels dont show this option, only EABI. Also my ppcrossarm is :- Free Pascal Compiler version 2.5.1 [2010/07/28] for arm Copyright (c) 1993-2009 by Florian Klaempfl What do you make of it? That you did not reply to the suggestions I made in my previous message. Please say what you did and what happened, even if it didn't work. It's not nice to spend time on trying to help someone, if that person then simply ignores what you write and replies with something completely different. The EABI requires that the stack is always aligned to 8 bytes on entry/exit of subroutines, and you probably mess up the alignment with the manually inserted return instruction. Also, make sure that you compiled an EABI cross-compiler (ensure that -dFPC_ARMEL is part of the OPT setting of the make invocation used to compile FPC). Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] inline asm in fpc progran
Hi I don't NEED a help, paid or unpaid. As for the regular arm software development I am already using stable and good tools like C++, Ruby, Python. Fpc/Lazarus is more of a hobby or a kind nostalgia about the good old Delphi. Of course, if it works well, quite good. As for volunteering, I too am putting my 2 cents in trying out the compiler and tools and reporting whatever I find. So its mutual help, if you call it. Again , it is simple as Take or leave it mutually. I am an application developer, I don't do compilers or OS. If there is a problem that a simple C program calling a factorial code written in Arm assembly works well, and the equivalent fpc program calling the same routine works only in a kind of kernels which support OABI, there is definitely a problem with the compiler, and hence no need to try any hanky pranky on the assembler code. I would rather come straight to the issue of fpc working only in kernels being compiled for OABI. That's what I did - trying to save valuable time for both of us. This issue has been raised by me before with Mr.Jonas , hope he remembers, in this thread:- http://www.mail-archive.com/fpc-de...@lists.freepascal.org/msg16637.html regards Nataraj Someday they gonna tell ya there was this clone of FreePascal, And it was called Delphi Till then, we shan't be cocky and vain On Sat, Aug 21, 2010 at 2:14 PM, patspiper patspi...@yahoo.com wrote: On 08/21/2010 07:44 AM, Nataraj S Narayan wrote: Jonas I was expecting exactly this response from you. I did'nt ask you to volunteer to help me. If you don't find time, or feel it wasting your time, let somebody else do it. Issue is very much real and i tried out your suggestions without any use. regards Nataraj On 08/20/2010 10:41 AM, Nataraj S Narayan wrote: May I have some help in this code ? I am on arm-linux-uclibc. Compiling using :- If you are looking for paid help, please mention it clearly in your post. Otherwise, you are asking for volunteer help, and Jonas did just that. This is not the way to thank him. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] inline asm in fpc progran
Hi May I have some help in this code ? I am on arm-linux-uclibc. Compiling using :- # ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-unknown-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 -uUSE_LOCALIZE -Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/* -Fl$/usr/staging/usr/arm-unknown-linux-uclibcgnueabi/lib -FL/usr/staging/lib/ld-uClibc.so.0 -XR/usr/staging -Fl/usr/staging/lib -Fl/usr/staging/usr/lib -k--sysroot=/usr/staging -k-rpath-link=/usr/staging/usr/arm-unknown-linux-uclibcgnueabi/lib/ main1.pas Program main; function fact(x : integer):integer;assembler; label loop; asm .text .align 2 mov r1,r0 mov r2,#1 loop: mul r3,r2,r1 mov r2,r3 subs r1,r1,#1 cmp r1,#0 bgt loop MOV r0,r2 MOV pc,lr end; var i:integer; begin for i:=1 to 10 do writeln('factorial',i,fact(i)); end. This compiles and links. But wont execute on Arm target (at91sam9263ek). Just waits endless. The equivalent C code linked to the external assembled code works well. regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] inline asm in fpc progran
Jonas I changed the kernel to old 2.6.30 and the code works on the Arm target! That kernel has been compiled with CONFIG_OABI_COMPAT=y. Newer kernels dont show this option, only EABI. Also my ppcrossarm is :- Free Pascal Compiler version 2.5.1 [2010/07/28] for arm Copyright (c) 1993-2009 by Florian Klaempfl What do you make of it? Compile a new ppcrossarm and try it? regards Nataraj On Fri, Aug 20, 2010 at 2:38 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 20 Aug 2010, at 09:41, Nataraj S Narayan wrote: This compiles and links. But wont execute on Arm target (at91sam9263ek). Just waits endless. The equivalent C code linked to the external assembled code works well. You probably need the nostackframe directive, or remove the mov pc,lr at the end. Compile the code with -al, compile equivalent Pascal code with -al and look at the differences in the generated .s files. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] inline asm in fpc progran
Jonas I was expecting exactly this response from you. I did'nt ask you to volunteer to help me. If you don't find time, or feel it wasting your time, let somebody else do it. Issue is very much real and i tried out your suggestions without any use. regards Nataraj Someday they gonna tell ya there was this clone of FreePascal, And it was called Delphi Till then, we shan't be cocky and vain On Fri, Aug 20, 2010 at 6:51 PM, Jonas Maebe jonas.ma...@elis.ugent.bewrote: On 20 Aug 2010, at 15:00, Nataraj S Narayan wrote: On Fri, Aug 20, 2010 at 2:38 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: You probably need the nostackframe directive, or remove the mov pc,lr at the end. Compile the code with -al, compile equivalent Pascal code with -al and look at the differences in the generated .s files. I changed the kernel to old 2.6.30 and the code works on the Arm target! That kernel has been compiled with CONFIG_OABI_COMPAT=y. Newer kernels dont show this option, only EABI. Also my ppcrossarm is :- Free Pascal Compiler version 2.5.1 [2010/07/28] for arm Copyright (c) 1993-2009 by Florian Klaempfl What do you make of it? That you did not reply to the suggestions I made in my previous message. Please say what you did and what happened, even if it didn't work. It's not nice to spend time on trying to help someone, if that person then simply ignores what you write and replies with something completely different. The EABI requires that the stack is always aligned to 8 bytes on entry/exit of subroutines, and you probably mess up the alignment with the manually inserted return instruction. Also, make sure that you compiled an EABI cross-compiler (ensure that -dFPC_ARMEL is part of the OPT setting of the make invocation used to compile FPC). Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ftp server
Hi Graeme Installed it from indyproject.org, using the .lpk. But no components are shown in the IDE. Any clues? regards Nataraj On Thu, May 20, 2010 at 12:13 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Nataraj S Narayan het geskryf: May I know if there are classes to implement an ftp server using fpc on Windows? I know the Indy components comes with clients and servers for just about any tcp, udp and raw sockets as well as over 100 higher level protocols. FTP Server being one of them. http://www.indyproject.org/Sockets/fpc/index.EN.aspx http://wiki.lazarus.freepascal.org/index.php/Indy_with_Lazarus Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pas...@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc and Sqlite UDF
Hi Luiz Getting this:- /software/fpc-uclibc/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 -uUSE_LOCALIZE -Fu/software/fpc-arm/units/arm-linux/ testfunction.pas Free Pascal Compiler version 2.5.1 [2009/10/23] for arm Copyright (c) 1993-2009 by Florian Klaempfl Target OS: Linux for ARM Compiling testfunction.pas testfunction.pas(25,66) Error: Identifier not found sqlite3_value_int testfunction.pas(42,21) Error: Identifier not found sqlite3_result_int testfunction.pas(59,23) Error: Identifier not found sqlite3_result_int testfunction.pas(62,25) Error: Identifier not found sqlite3_result_int testfunction.pas(65,27) Error: Identifier not found sqlite3_result_int testfunction.pas(124) Fatal: There were 5 errors compiling module, stopping Fatal: Compilation aborted Any Sqlite version problem? On SQLite version 3.4.2 regards Nataraj On Fri, Nov 6, 2009 at 1:56 AM, Luiz Americo Pereira Camara luiz...@oi.com.br wrote: Nataraj S Narayan escreveu: Hi Anybody has written custom UDF for Sqlite 3 using fpc? If so kindly help me with some hints to get started. See the attached files. It implements a custom format date function Luiz ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Yes Using Codesourcery :- arm-none-lnux-gnueab- regards Nataraj On Fri, Aug 28, 2009 at 1:47 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 07:19, Nataraj S Narayan wrote: Here are the details of 2 binaries - first compiled using fpc-arm and second qt4 for arm. The second one is working, Are both assembled/linked now with the same toolchain? Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
HI # strings firework |grep ld /software/arm-lib/ld-linux.so.3 #strings framebuffer |grep ld /lib/ld-linux.so.3 I have put the contents of # strings firework in pastebin http://pastebin.com/m10d2cc6f Some of the contents are :- 6This binary has no unicodestrings support compiled in. SRecompile the application with a unicodestrings-manager in the program uses clause. Runtime error On Fri, Aug 28, 2009 at 2:02 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 10:29, Nataraj S Narayan wrote: On Fri, Aug 28, 2009 at 1:47 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 07:19, Nataraj S Narayan wrote: Here are the details of 2 binaries - first compiled using fpc-arm and second qt4 for arm. The second one is working, Are both assembled/linked now with the same toolchain? Yes Using Codesourcery :- arm-none-lnux-gnueab- If you run strings fireworks|grep ld\.so what does it print? (for both versions) Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi Jonas That was it! Now its working fine. Where did i miss while compiling? regards thanks Nataraj On Fri, Aug 28, 2009 at 3:06 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 11:17, Nataraj S Narayan wrote: # strings firework |grep ld /software/arm-lib/ld-linux.so.3 That's probably the problem. This means that to start the program, the kernel will look for /software/arm-lib/ld-linux.so.3 on your ARM system, and it obviously won't find it. That's where the No such file or directory error comes from. As a temporary hack, you could try to create the /software/arm-lib directory on your ARM system and a put a symlink there to /lib/ld-linux.so.3 Please compile the program with -Cn and post the contents of the generated ppas.sh file. Please also mention with FPC revision you are using to compile the program. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Yikes! Gtk2 apps are working on Arm-linux SBC. Now I need to get qt-embededed to work with fpc and then lazarus. Kudos for the team! regards Nataraj On Fri, Aug 28, 2009 at 3:15 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 11:40, Nataraj S Narayan wrote: On Fri, Aug 28, 2009 at 3:06 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 28 Aug 2009, at 11:17, Nataraj S Narayan wrote: # strings firework |grep ld /software/arm-lib/ld-linux.so.3 That's probably the problem. This means that to start the program, the kernel will look for /software/arm-lib/ld-linux.so.3 on your ARM system, and it obviously won't find it. That's where the No such file or directory error comes from. As a temporary hack, you could try to create the /software/arm-lib directory on your ARM system and a put a symlink there to /lib/ld-linux.so.3 Please compile the program with -Cn and post the contents of the generated ppas.sh file. Please also mention with FPC revision you are using to compile the program. That was it! Now its working fine. Where did i miss while compiling? Nothing, it looks like a bug in the compiler. That's why I asked for the above information. Please post it. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi My problem still persists. Here are the details of 2 binaries - first compiled using fpc-arm and second qt4 for arm. The second one is working, 1. debian-armel:~# readelf -h firework ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8f1c Start of program headers: 52 (bytes into file) Start of section headers: 260800 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 34 Section header string table index: 31 2. debian-armel:~# readelf -h framebuffer ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8874 Start of program headers: 52 (bytes into file) Start of section headers: 10272 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 8 Size of section headers: 40 (bytes) Number of section headers: 27 Section header string table index: 26 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8f1c Start of program headers: 52 (bytes into file) Start of section headers: 260800 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 34 Section header string table index: 31 2. debian-armel:~#ldd firework /usr/bin/ldd: line 116: ./firework: No such file or directory debian-armel:~# ldd framebuffer libdl.so.2 = /lib/libdl.so.2 (0x4002d000) libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x40038000) libm.so.6 = /lib/libm.so.6 (0x40113000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x401c) libc.so.6 = /lib/libc.so.6 (0x401d4000) /lib/ld-linux.so.3 (0x4000) On Tue, Aug 25, 2009 at 7:48 PM, Henry Vermaakhenry.verm...@gmail.com wrote: 2009/8/25 Nataraj S Narayan natara...@gmail.com: Hi Henry Not any particular reason for that. Company policy was to get rid of Angtrom and go for Debian. Well seems debian-armel is also EABI 4. Would you suggest me a RFS with EABI 5? I'm just saying that you won't have these problems if you stick to the same toolchain. There may still be issues with the fpc armel port, but that's a different matter. Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Parsing XML from MS SQL webservice using fpc
Hi I am getting the XML using # curl -v -u pilot:pilot http://remote-ip/handheld?sql=select+*+from+branchdesc+for+xml+autoroot=clancor Next step is to parse and put it into a Sqlite database. Is it possible to bypass curl and do fully using fcl-xml? regards Nataraj On Wed, Aug 26, 2009 at 6:13 PM, Nataraj S Narayannatara...@gmail.com wrote: Hi The customer want it that way. May be don't like to expose Sql server to the world. ITC of wrong validation, browser shows:- ERROR: 401 Access Denied HResult: 0x80046000 Source: Microsoft SQL isapi extension Description: Access denied regards Nataraj On Wed, Aug 26, 2009 at 5:57 PM, Henry Vermaakhenry.verm...@gmail.com wrote: 2009/8/26 Nataraj S Narayan natara...@gmail.com: Hi The following URL gives me a XML output in any browser , after validating username and password:- http://Some IP address/handheld?sql=select+*+from+branchdesc+for+xml+autoroot=my-mssql-database This connects to a remote MS SQL server based web service , may be using MIcrosoft IIS server. Can i use fcl-xml package to send the query and then parse the xml output? Why don't you query the sql server directly? Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Parsing XML from MS SQL webservice using fpc
Hi The following URL gives me a XML output in any browser , after validating username and password:- http://Some IP address/handheld?sql=select+*+from+branchdesc+for+xml+autoroot=my-mssql-database This connects to a remote MS SQL server based web service , may be using MIcrosoft IIS server. Can i use fcl-xml package to send the query and then parse the xml output? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Parsing XML from MS SQL webservice using fpc
Hi Graeme May I have a lttle help? Didn't find any examples in fpc/packages/fcl-xml. Need to know if anything special needs to be done to connect to underlying SQL server? Or is it purely a webservice? How do I specify username and password? regards Nataraj On Wed, Aug 26, 2009 at 5:30 PM, Graeme Geldenhuysgrae...@opensoft.homeip.net wrote: Nataraj S Narayan wrote: Can i use fcl-xml package to send the query and then parse the xml output? If the return result is xml, I can't see why not. Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Parsing XML from MS SQL webservice using fpc
Hi The customer want it that way. May be don't like to expose Sql server to the world. ITC of wrong validation, browser shows:- ERROR: 401 Access Denied HResult: 0x80046000 Source: Microsoft SQL isapi extension Description: Access denied regards Nataraj On Wed, Aug 26, 2009 at 5:57 PM, Henry Vermaakhenry.verm...@gmail.com wrote: 2009/8/26 Nataraj S Narayan natara...@gmail.com: Hi The following URL gives me a XML output in any browser , after validating username and password:- http://Some IP address/handheld?sql=select+*+from+branchdesc+for+xml+autoroot=my-mssql-database This connects to a remote MS SQL server based web service , may be using MIcrosoft IIS server. Can i use fcl-xml package to send the query and then parse the xml output? Why don't you query the sql server directly? Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] fpc on Armel issues
Hi At revision 13589. Got a full build of FPC with :- /usr/local/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -XP/armbin/arm-none-linux-gnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 ./$1 -uUSE_LOCALIZE -Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/ -Fl/software/arm-lib [r...@freebsd /software/fpc]# ls -l /usr/local/lib/fpc/2.5.1/ppcrossarm -rwxr-xr-x 1 root wheel 9491748 Aug 25 14:20 /usr/local/lib/fpc/2.5.1/ppcrossarm. Tried compiling examples in fpc/packages/ncurses/examples using :- gmake examples OS_TARGET=linux CPU_TARGET=arm OPT=-gl -Fl/software/arm-lib -Xr/usr/lib -FL/software/arm-lib/ld-linux.so.3 -XLAc=c,dl,g -Fu/usr/local/lib/fpc/2.5.1/units/arm-linux/ -Xd -XP/armbin/arm-none-linux-gnueabi- -dFPC_ARMEL -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 FPC=/usr/local/lib/fpc/2.5.1/ppcrossarm after copying the arm-linux libs to /software/arm-lib. the resulting binaries (firework etc) are not executing on the arm-linux board as well as qemu. r...@at91sam9263ek:~$ sh firework firework: firework: 1: Syntax error: word unexpected (expecting )) $file firework firework: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped while another non-fpc app shows:- r...@at91sam9263ek:~$ file formshow formshow: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped could it be that I am building on FreeBSD is a probelms? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi Jonas Tried all the tricks. chmod +x firework sh firework firework: firework: 1: Syntax error: word unexpect ./firework -sh: ./firework: not found ed (expecting )) regards On Tue, Aug 25, 2009 at 5:09 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 25 Aug 2009, at 13:35, Nataraj S Narayan wrote: the resulting binaries (firework etc) are not executing on the arm-linux board as well as qemu. r...@at91sam9263ek:~$ sh firework firework: firework: 1: Syntax error: word unexpected (expecting )) You are trying to execute the program as a shell script. It's normal that this doesn't work. Try ./firework instead. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi Fpc compiled binary:- r...@at91sam9263ek:~$ readelf -h firework ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8f1c Start of program headers: 52 (bytes into file) Start of section headers: 257344 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 34 Section header string table index: 31 Other Binary:- r...@at91sam9263ek:~$ readelf -h formshow ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0xab64 Start of program headers: 52 (bytes into file) Start of section headers: 21324 (bytes into file) Flags: 0x402, has entry point, Version4 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 8 Size of section headers: 40 (bytes) Number of section headers: 37 Section header string table index: 34 Could it be that arm-linux is not ready for Version5 EABI? regards Nataraj On Tue, Aug 25, 2009 at 5:40 PM, Jonas Maebejonas.ma...@elis.ugent.be wrote: On 25 Aug 2009, at 13:44, Nataraj S Narayan wrote: Tried all the tricks. chmod +x firework sh firework firework: firework: 1: Syntax error: word unexpect That is normal, because as mentioned before firework is not a shell script. The above command tells sh to try to read the compiled program as a shell script. That can never work. ./firework -sh: ./firework: not found ed (expecting )) Which version of binutils are you using for cross-compiling and how were they compiled? Can you also show the output of readelf -h for both an FPC-compiled binary and another one? Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi using arm-2009q1/arm-none-linux-gnueabi/bin/. from Codesourcery. Should i try out older version, maybe 2008? Are you prsently logged onto Freenode? regards Nataraj On Tue, Aug 25, 2009 at 5:56 PM, Florian Klaempflflor...@freepascal.org wrote: Nataraj S Narayan schrieb: Hi Fpc compiled binary:- r...@at91sam9263ek:~$ readelf -h firework ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x8f1c Start of program headers: 52 (bytes into file) Start of section headers: 257344 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 6 Size of section headers: 40 (bytes) Number of section headers: 34 Section header string table index: 31 Other Binary:- r...@at91sam9263ek:~$ readelf -h formshow ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0xab64 Start of program headers: 52 (bytes into file) Start of section headers: 21324 (bytes into file) Flags: 0x402, has entry point, Version4 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 8 Size of section headers: 40 (bytes) Number of section headers: 37 Section header string table index: 34 Could it be that arm-linux is not ready for Version5 EABI? Possible, but the eabi version is written by the binutils you used. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi Henry You mean both fpc and app ? I compile kernel with codesourcery. But the Distro is Angstrom which has its own arm-angstrom-linux-gnueabi-* regards Nataraj On Tue, Aug 25, 2009 at 6:12 PM, Henry Vermaakhenry.verm...@gmail.com wrote: 2009/8/25 Nataraj S Narayan natara...@gmail.com: Hi using arm-2009q1/arm-none-linux-gnueabi/bin/. from Codesourcery. Why don't you use the toolchain with which your system was compiled in the first place? Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] fpc on Armel issues
Hi Henry Not any particular reason for that. Company policy was to get rid of Angtrom and go for Debian. Well seems debian-armel is also EABI 4. Would you suggest me a RFS with EABI 5? regards Nataraj On Tue, Aug 25, 2009 at 6:39 PM, Henry Vermaakhenry.verm...@gmail.com wrote: 2009/8/25 Nataraj S Narayan natara...@gmail.com: Hi Henry You mean both fpc and app ? No, I mean everything. I compile kernel with codesourcery. But the Distro is Angstrom which has its own arm-angstrom-linux-gnueabi-* Is there a reason why you don't use the distro toolchain for everything? Henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Sockets in FPC
Hi I need to write a daemon on Linux which will wait on a user defined port (say 3) and parse the socket input to write into a Mysql database. Can anybody suggest examples in FPC ? Presently , I am using TCL for this. The problem is the behaviour of Gets function in TCL.. It is buffered with EOF as newline. But i need the socket to have a user defined char like ':' and it should be unbuffered too. I mean dont want an Enter keyed to be at the end. We use various GPRS modules on embedded devices, each with its own nuances of terminating a string. So we can't afford to have a 'normal' gets or readln behaviours. Please help regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] absolute beginner
Hi I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ? regards Nataraj On Mon, Feb 2, 2009 at 1:24 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi duiliofos...@euplan.it wrote: wow! There is a whole world to explore ! :-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with Free Pascal. LCL is not the only one, there are custom written toolkits as well - all implemented in Object Pascal. fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ MSEide+MSEgui http://homepage.bluewin.ch/msegui/ Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] absolute beginner
Hi Well, I don't think its a wrapper because i did use it without gtk installed. Plz have a look at http://www.fox-toolkit.org/. regards Nataraj On Mon, Feb 2, 2009 at 2:31 PM, Krishna v.krishnaku...@gmail.com wrote: On Mon, Feb 2, 2009 at 2:16 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Mon, Feb 2, 2009 at 10:40 AM, Nataraj S Narayan natara...@gmail.com wrote: I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ? I don't know FoxLib. Is that a custom drawn toolkit or a wrapper for other toolkits like GTK, Win32 etc? Custom drawn with a Windows 2000 look on all platforms. -- Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort? - Aksel Peter Jorgensen ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] absolute beginner
You mean its just another one out there? I have used the Ruby wrappers of this called FxRuby on Arm-linux boards. Aint crashed or given a problem. But the calender widget was missing till Foxlib 1.6. Otherwise neat stuff. C++ ought to be good aint it? Even Firefox RDBMS was written in C++? rgards Nataraj On Mon, Feb 2, 2009 at 2:36 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Mon, 2 Feb 2009, Nataraj S Narayan wrote: Hi I have had a good time with FoxLib Gui, calling from Ruby. Why is that there isnt an integration of Fox in Lazarus/Fpc ? Because no-one has made a widgetset based on it. This is also the first request ever. Given that it is written in C++ - and that is always a pain - this will not be an easy task either. Michael. regards Nataraj On Mon, Feb 2, 2009 at 1:24 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Sun, Feb 1, 2009 at 11:43 PM, duilio foschi duiliofos...@euplan.it wrote: wow! There is a whole world to explore ! :-) And it doesn't stop there... you even have a choice of GUI toolkits you can use with Free Pascal. LCL is not the only one, there are custom written toolkits as well - all implemented in Object Pascal. fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ MSEide+MSEgui http://homepage.bluewin.ch/msegui/ Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] absolute beginner
Hi Graeme http://www.fox-toolkit.org/ regards Nataraj On Mon, Feb 2, 2009 at 2:45 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Mon, Feb 2, 2009 at 11:01 AM, Krishna v.krishnaku...@gmail.com wrote: Custom drawn with a Windows 2000 look on all platforms. Do you have a link to FoxLib? A quick google search did not reveal a obvious choice. As for the Windows 2000 look. I am planning on implementing the LCL-fpGUI widgetset during 2009. fpGUI will have a built-in Win2000 look (including a few others), so hopefully that will fill that requirement. ;-) I'm always interested in other custom drawn toolkits. It's normally a great inspiration for features I can possibly add to fpGUI Toolkit. Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Use Free Pascal on Pandora handheld game console
Hi I had some amount of success with armel, EABI on arm-linux with lotsa help from Henry Vermaak. As said before, still shaky support. I had to shuffle between sysutils.o and system.o from different svn trunks to get things working a bit decent on gtk1. But still lots of run time errors which are not persistent. ie , the binary may work sometimes without problems at other time simply fail giving RT errors. Due to these I have switched to Ruby and FoxLib (fxRuby), which work like a song. regards Nataraj On Tue, Sep 16, 2008 at 8:06 PM, Guillermo Martínez Jiménez [EMAIL PROTECTED] wrote: Hello. I was looking in the maillist archive but I didn't find an answer. Did somebody planned to compile, test and release FPC for the Pandora handgeld game console? (www.openpandora.org) I will try to buy one when it comes to be available (pre-order on September 30) so if nobody else will I would try, but I have not experience with cross-compiling and I never compiled a compiler :S ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] GUI application sample for windows and linux
Hi Graeme I am trying out fpgui for arm-linux. Please tell me how different are msegui and fpgui. Why do we need two of them, if both are writing direct w/o gtk or qt? regards Nataraj On Wed, Aug 6, 2008 at 1:47 PM, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 8/5/08, Osvaldo Filho [EMAIL PROTECTED] wrote: Hi, i need a sample of an application with this: One form One button with an event, the event: showmessage('Hello, my name is: '+ button.name) The application to be need cross plataform for windows and linux and not use gtk, gtk2, qt or fpGui. That is not a trivial task! For example: fpGUI talks directly to GDI (windows) and XLib (Linux FreeBSD). The make the whole process cross-platform for the users of fpGUI, you have to abstract all drawing and painting calls to abstract classes. Override/Implement them for specific platforms. Then place a platform neutral interface over those. Plus you need to handle OS events, the event loop and application events in a cross-platform way Now the developer can use the platform neutral classes to design there applications and not worry about the platforms specific backend. A huge task which I have been busy with for the last 1.5 years in fpGUI. It's simply easier to use one of the existing cross-platform solutions. The ones I know of that are implemented in Free Pascal are: fpGUI, MSEgui and Lazarus. Or if you are not happy with any of those and you are up to the challenge and you have A LOT of spare time, then start implemented you own cross-platform GUI toolkit. :-) Good luck! Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Armel compiled
Hi Any problem with this file? Gives me a runtime error 203. Its a code compiled using ppcrossarm-2.3.1 with Gtk1. debian:/home/kodi# readelf -h so/muraj1 ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI:UNIX - System V ABI Version: 0 Type: EXEC (Executable file) Machine: ARM Version: 0x1 Entry point address: 0x132d8 Start of program headers: 52 (bytes into file) Start of section headers: 2314784 (bytes into file) Flags: 0x502, has entry point, Version5 EABI Size of this header: 52 (bytes) Size of program headers: 32 (bytes) Number of program headers: 5 Size of section headers: 40 (bytes) Number of section headers: 20 Section header string table index: 19 regards Nataraj On Thu, Jun 26, 2008 at 3:03 PM, Mattias Gaertner [EMAIL PROTECTED] wrote: On Wed, 25 Jun 2008 13:06:58 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 25 Jun 2008, Peter Vreman wrote: [...] The ppu unit from the compiler and ppudump has become too much dependent on other units of the compiler that i don't think it is recommended to be used by other projects. The current dependencies are below: Compiling ppudump.pp Compiling /home/peter/fpc/compiler/constexp.pas Compiling /home/peter/fpc/compiler/ppu.pas Compiling /home/peter/fpc/compiler/globtype.pas Compiling /home/peter/fpc/compiler/systems.pas Compiling /home/peter/fpc/compiler/cutils.pas Compiling /home/peter/fpc/compiler/fpccrc.pas Compiling /home/peter/fpc/compiler/cclasses.pas Compiling /home/peter/fpc/compiler/cstreams.pas Compiling /home/peter/fpc/compiler/i386/cpuinfo.pas Compiling /home/peter/fpc/compiler/version.pas It might be better to write a clean PPU reader using streams. The PPU format is stable and TLV based so multiple ppu-versions can be supported. For the compiler and ppudump this is not a requirement, but for lazarus it is needed especially if it wants to use type information. I would also recommend this way, and think that if it is implemented, we make a FPC package from this. Ok. Great. Mattias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC ARMEL EABI Help!!!
Hi I am finally able to get an ARMEL binary of FPC compiler 2.3.1 on my qemu emulated debian system. Have a look at the following:- But alas I still unable to compile the fpc svn trunk with this. It hangs for sometime while compiling system.pp and breaks out. At least I need all the ppu files be compiled with new fpc compiler so that I may try to compile lazarus on Debian armel. How do I got for it? regards Nataraj debian-armel:/home/user# /keep/ppc1 -i Free Pascal Compiler version 2.3.1 Compiler Date : 2008/06/20 Compiler CPU Target: arm Supported targets: Linux for ARMEL WinCE for ARM GameBoy Advance PalmOS Nintendo DS Embedded Symbian OS for ARM Supported CPU instruction sets: ARMV3 ARMV4 ARMV5 Supported FPU instruction sets: SOFT LIBGCC FPA FPA10 FPA11 VFP Supported ABI targets: DEFAULT SYSV AIX EABI ARMEB Supported Optimizations: REGVAR STACKFRAME LOOPUNROLL TAILREC This program comes under the GNU General Public Licence For more information read COPYING.FPC Report bugs,suggestions etc to: [EMAIL PROTECTED] ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC_ARMEL system calls
Hi I get the following strace out put when executing a fpc cross compiled binary using ppcrossarm (generated from latest fpc svn using following script :- #!/bin/bash ALLOPTS=CPU_TARGET=arm OS_TARGET=linux BINUTILSPREFIX=arm-linux- CROSSBINDIR=/home/nataraj/arm-2008q1/bin FPC=/usr/local/bin/ppc386 INSTALL_PREFIX=/usr make clean crossall $ALLOPTS OPT=-dFPC_ARMEL \ sudo make -k crossinstall $ALLOPTS OPT=-dFPC_ARMEL [EMAIL PROTECTED]:~$ strace ./kam execve(./kam, [./kam], [/* 11 vars */]) = 0 syscall(0x90004c, 0x3, 0xbe809de8, 0xbe809df0, 0x4) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x8, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0xb, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x7, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x4, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x17348) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x170f4) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x177f0) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x17a44) = -1 EINTR (Interrupted system call) syscall(0x900055, 0xe494, 0x18ca5, 0xff, 0xbe7c9e54) = -1 EINTR (Interrupted system call) syscall(0x94, 0x1, 0x17498, 0x8, 0x1) = -1 EINTR (Interrupted system call) syscall(0x94, 0x1, 0x17498, 0x8, 0x1) = -1 EBADF (Bad file descriptor) _exit(0) My ARM Linux kernel is on Atmel AT91SAM9263 is Linux at91sam9263ek 2.6.25 #34 Sat Jun 7 20:02:51 IST 2008 armv5tejl unknown I use bin utils from CodeSourcery for cross compiling EABI kernel as well as fpc. The kernel is compiled with CONFIG_AEBI=y CONFIG_ARM_THUMB=y But I am not able to enable OABI_COMPAT=y. Why dont my binary work on the Arm board? What else is to be done? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[FPC-pascal] strace on Arm
Hi I get the following strace out put when executing a fpc cross compiled binary using ppcrossarm (generated from latest fpc svn using following script :- #!/bin/bash ALLOPTS=CPU_TARGET=arm OS_TARGET=linux BINUTILSPREFIX=arm-linux- CROSSBINDIR=/home/nataraj/arm-2008q1/bin FPC=/usr/local/bin/ppc386 INSTALL_PREFIX=/usr make clean crossall $ALLOPTS OPT=-dFPC_ARMEL \ sudo make -k crossinstall $ALLOPTS OPT=-dFPC_ARMEL [EMAIL PROTECTED]:~$ strace ./kam execve(./kam, [./kam], [/* 11 vars */]) = 0 syscall(0x90004c, 0x3, 0xbe809de8, 0xbe809df0, 0x4) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x8, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0xb, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x7, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x9000ae, 0x4, 0x18da4, 0, 0x8) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x17348) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x170f4) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x1, 0x5401, 0xbe809cac, 0x177f0) = -1 EINTR (Interrupted system call) syscall(0x900036, 0x2, 0x5401, 0xbe809cac, 0x17a44) = -1 EINTR (Interrupted system call) syscall(0x900055, 0xe494, 0x18ca5, 0xff, 0xbe7c9e54) = -1 EINTR (Interrupted system call) syscall(0x94, 0x1, 0x17498, 0x8, 0x1) = -1 EINTR (Interrupted system call) syscall(0x94, 0x1, 0x17498, 0x8, 0x1) = -1 EBADF (Bad file descriptor) _exit(0) My ARM Linux kernel is on Atmel AT91SAM9263 is Linux at91sam9263ek 2.6.25 #34 Sat Jun 7 20:02:51 IST 2008 armv5tejl unknown I use bin utils from CodeSourcery for cross compiling EABI kernel as well as fpc. The kernel is compiled with CONFIG_AEBI=y CONFIG_ARM_THUMB=y But I am not able to enable OABI_COMPAT=y. Why dont my binary work on the Arm board? What else is to be done? regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC_ARMEL system calls
Hi Henry, Luca I got a 'ppcarm' after compiling the fpc-svn. I copied the pparm to the qemu-system-arm emulated machine and tried to compile a Helloworld.pas. fpc showed some errors related to FPU and stopped. Then i copied many *.o and *.ppu files from host to qemu machine. This time fpc compiled and linked the crt0.o and system.o and few other file, and the program worked. But when i copied to the actual target AT91SAM9263 , it wont work - just waits endlessly. strace in the target gives:- syscall(0x90004c,0x3,0xbebd6de8,0xbebd6df0,0x4) = -1 EINTR (Interrupted system call) And finally a bad file descriptor. Exit(0). The architecture is armvtejl in both target as well as the emulated machine. I tried generating assembler files in emulated and the assembling in the target. But getting same. What could be done now? regards Nataraj On Wed, Jun 4, 2008 at 3:33 AM, Henry Vermaak [EMAIL PROTECTED] wrote: 2008/6/3 Luca Olivetti [EMAIL PROTECTED] the syscall number should be put in r7 Also the alignment of the parameters in the registers is different. Of course I cannot make head or tails of syscall.inc, so it's possible that everything is already done as it should be. mov r7, r0 puts the syscall nr into r7. i haven't looked at the alignment, though :-\ With EABI, 64-bit function parameters passed in registers are aligned to an even-numbered register instead of using the next available pair. what output does: qemu-arm -strace hello give? (run on your i386 after cross-compiling) did you compile this with the 2.18 binutils? my qemu-arm is happy with my simple hello program. even does writeln(2/3) properly. henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC_ARMEL ld-linux.so.3
Hi I find that in my qemu emulated machine , /lib/ld-linux.so.3 is actually a symink to /lib/ld-2.7.so. Whereas in my target Arm machine it is just ld-linux.so.3. Could this be any problem ? regards Nataraj On Wed, Jun 4, 2008 at 4:14 PM, Nataraj S Narayan [EMAIL PROTECTED] wrote: Hi Henry, Luca I got a 'ppcarm' after compiling the fpc-svn. I copied the pparm to the qemu-system-arm emulated machine and tried to compile a Helloworld.pas. fpc showed some errors related to FPU and stopped. Then i copied many *.o and *.ppu files from host to qemu machine. This time fpc compiled and linked the crt0.o and system.o and few other file, and the program worked. But when i copied to the actual target AT91SAM9263 , it wont work - just waits endlessly. strace in the target gives:- syscall(0x90004c,0x3,0xbebd6de8,0xbebd6df0,0x4) = -1 EINTR (Interrupted system call) And finally a bad file descriptor. Exit(0). The architecture is armvtejl in both target as well as the emulated machine. I tried generating assembler files in emulated and the assembling in the target. But getting same. What could be done now? regards Nataraj On Wed, Jun 4, 2008 at 3:33 AM, Henry Vermaak [EMAIL PROTECTED] wrote: 2008/6/3 Luca Olivetti [EMAIL PROTECTED] the syscall number should be put in r7 Also the alignment of the parameters in the registers is different. Of course I cannot make head or tails of syscall.inc, so it's possible that everything is already done as it should be. mov r7, r0 puts the syscall nr into r7. i haven't looked at the alignment, though :-\ With EABI, 64-bit function parameters passed in registers are aligned to an even-numbered register instead of using the next available pair. what output does: qemu-arm -strace hello give? (run on your i386 after cross-compiling) did you compile this with the 2.18 binutils? my qemu-arm is happy with my simple hello program. even does writeln(2/3) properly. henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC_ARMEL system calls
Hi Luca Please give me the full command used for cross compiling with all the options. Is it -O- or just -O? I am able to run the ppcarm which was generated by cross compiling, on the qemu system, and am able to compile and run a siple writeln app. But when copying and executing to the ARM board it justs hangs till i CRTL-C. regards Nataraj On Thu, Jun 5, 2008 at 12:55 AM, Luca Olivetti [EMAIL PROTECTED] wrote: En/na Luca Olivetti ha escrit: runs but it doesn't print anything, neither under scratchbox nor on the tablet. Thanks to Henry Vermaak I rebuilt the cross compiler with -O- and now it prints hello :-) I'm trying to cross-compile the gtk2 example but it seems the compiler is ignoring -Xd and -Xr: Well, the compiler it's passing as -rpath what I put in -Xr but the linker is ignoring it (at least it seems so). Anyway, I tried passing -k'L /path/where/I/copied/all/the/target/libraries' and it's progressing (it isn't finding some libraries that are there, like libc) but I see a bunch of messages like these: /home/luca/crossbinutils/bin/armel-linux-ld: ERROR: Source object /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libgobject-2.0.so has EABI version 4, but target packages/gtk2/examples/helloworld/helloworld has EABI version 0 /home/luca/crossbinutils/bin/armel-linux-ld: failed to merge target specific data of file /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/ libgobject-2.0.so /home/luca/crossbinutils/bin/armel-linux-ld: ERROR: Source object /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/libglib-2.0.so has EABI version 4, but target packages/gtk2/examples/helloworld/helloworld has EABI version 0 /home/luca/crossbinutils/bin/armel-linux-ld: failed to merge target specific data of file /scratchbox/users/luca/targets/CHINOOK_ARMEL/pippo/ libglib-2.0.so Bye -- Luca ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FreePascal on ARM Linux ,SoftFloat and EABI issues
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 machine on a Debian x86 Lenny distro for writing code. I installed fpc-2.2.0.arm-linux.tar on the emulated linux. Which compiling a simple helloworld.pas , i get the classic error of System.o being EABI 0 while target is EABI 4. I have got the svn download of fpc, and trying to compile it in the emulated machine for ARM for the past 2 days. I have given :- make clean all ARCH=arm OPT=-CfSoft. Its compiling for quite long and finally comes to rest endlessly while compiling system.pp. Let me remind you that i am dont use a Cross compiler, but an emulated Arm machine. My boss and colleagues are 'C only' programmers . Doing all kinda harware access for embedded devices using C. They have developed pretty good successful apps using pure C without an OS. What i have been trying is to convice them to use Freepascal for the Application part, which is presently console Apps. The next stage is to develop X apps using Lazarus. But for these I need to get FPC working. Please help. regards Nataraj ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal