[fpc-pascal] FreePascal and the OrangePi

2022-10-21 Thread Terry A. Haimann via fpc-pascal
Dumb ? What download should I use to install the latest version of FreePascal on the OrangePi 4 LTS, I am running Debian 3.0.6 Bullseye. The Orange Pi 4 LTS is an SBC running an ARM Processor. Rockchip 3399 SOC

Re: [fpc-pascal] Test Free Pascal program not compiling

2022-09-13 Thread Terry A. Haimann via fpc-pascal
-computer:~/Documents/fpc/Silly$ On Mon, 2022-09-12 at 07:22 +0200, Christo Crause wrote: > > On Mon, 12 Sep 2022, 02:59 Terry A. Haimann via fpc-pascal, < > fpc-pascal@lists.freepascal.org> wrote: > > Trying to compile a small test pascal program on a arm

[fpc-pascal] Test Free Pascal program not compiling

2022-09-11 Thread Terry A. Haimann via fpc-pascal
Trying to compile a small test pascal program on a arm cpu. I beleive it is an a53. Libre Le Potato I am getting the following error: Error: Error while assembling exitcode 1 Thanks in advance, Terry H. ___ fpc-pascal maillist -

Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-20 Thread Terry A. Haimann via fpc-pascal
https://github.com/fpc/FPCSource/tree/main/packages/mysql I do not understand. I see a source file for mysql80dyn.pp, but shouldn't tthere also be a mysql80conn.pp? Terry H. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FreePascal and MySQL 8.0

2021-09-19 Thread Terry A. Haimann via fpc-pascal
. On Sat, 18 Sep 2021, Terry A. Haimann via fpc-pascal wrote: > I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0 > . I also see there is no connector in my Free Pascal install for MySQL > 8.0. I do see that there is an open ticket to create a connector. Is > th

[fpc-pascal] FreePascal and MySQL 8.0

2021-09-18 Thread Terry A. Haimann via fpc-pascal
I just upgraded to a new laptop and see that MariaDB is using MySQL 8.0 . I also see there is no connector in my Free Pascal install for MySQL 8.0. I do see that there is an open ticket to create a connector. Is there an Alpha or Beta version of the connector available that I can try? Thank you

[fpc-pascal] FreePascal inc file

2021-08-23 Thread Terry A. Haimann via fpc-pascal
Hello, I tried to compile something that used "osunits.inc" on a Raspberry Pi. I couldn't find the file. Yes I installed fpc-source. Thanks for your attention, Terry H. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] Benchmarks

2018-07-08 Thread Terry A. Haimann
I am curious, Has anyone benchmarked the new AMD Ryzen vs Intel chips with FreePascal.  10 years or so ago, I had a multi core AMD Desktop and an Intel based laptop.  With FreePascal the laptop was outperforming the desktop.  When I upgraded that machine, I upgraded to Intel since I use

[fpc-pascal] Lazarus and Linked Lists

2018-06-26 Thread Terry A. Haimann
Dumb question, Is there a basic linked List object for Lazarus? Terry Haimann ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] I am trying to install zeosdbo

2018-06-15 Thread Terry A. Haimann
I am trying to install zeosdbo onto my Lazarus install and am getting the following error during the rebuild: Build IDE: Exit code 512, Errors: 1lazarus.pp(1,1) Fatal: Cannot find aarrebase used by Lazarus. Check if package aarrebase creates aarrebase.ppu, check nothing deletes this file and check

[fpc-pascal] Connecting to a database from a commandline pascal program

2018-02-16 Thread Terry A. Haimann
Hello, I am trying to write a command Line Pascal program to connect to a MySQL database using the ZeosDBO Library. I am sure I have done something stupid. I have it now so that it will compile, but it crashes as soon as I try to modify my TZConnection variable. I have it defined as:

Re: [fpc-pascal] Trying to compile ZeosDBO cli program

2018-02-13 Thread Terry A. Haimann
/02/2018 15:48 μμ, Terry A. Haimann wrote: > I really do not understand your response. If you are talking about > Lazarus, I already have it working there. OK > I am wanting to get it to > work from a command line batch program using fpc. Using fpc I do not > know how to set re

Re: [fpc-pascal] Trying to compile ZeosDBO cli program

2018-02-13 Thread Terry A. Haimann
Zconnection I only added the paths in temporarily. On 13/02/2018 15:48 μμ, Terry A. Haimann wrote: > I really do not understand your response. If you are talking about > Lazarus, I already have it working there. OK > I am wanting to get it to > work from a command line batch progr

Re: [fpc-pascal] Trying to compile ZeosDBO cli program

2018-02-13 Thread Terry A. Haimann
would be. Mostly, at this point,I want to compare ZeosDBO's performance against SqlDB. I know how to do this with SqlDB, but think it's performance is lackluster. Terry H On 13/02/2018 04:50 πμ, Terry A. Haimann wrote: > First of all, thank you for looking at this, Terry H. > > To comp

[fpc-pascal] Trying to compile ZeosDBO cli program

2018-02-12 Thread Terry A. Haimann
First of all, thank you for looking at this, Terry H. To compile a cli FreePascal program to use ZeosDBO library, I assume all I have to do is include the path to those files. On my laptop, the files appear to be in: /home/terry/ZeosDBO/packages/lazarus/lib/x86_64-linux Well after adding that

[fpc-pascal] FreePascal and MySQL ?

2017-11-20 Thread Terry A. Haimann
Hello, This is probably a dumb question. But I have data in a tstringlist that I want to upload into a MediumText MySQL column. It looks to me as if you do something like: Stream := TMemoryStream.Create; MySL.SaveToStream(Stream);

[fpc-pascal] Connecting to a MySQL Server

2017-10-05 Thread Terry A. Haimann
What library do I need to install on Raspian (Raspberry Pi) to allow Free Pascal to attach to a Mysql Server. Note the MySQL Server is running on a i5 and is actully MariaDB 5.5.47 An unhandled exception occurred at $000E7398: EInOutError: Can not load default MySQL library

[fpc-pascal] MySQL 5.7 and FreePascal

2016-11-19 Thread Terry A. Haimann
Is it possible to connect to MySQL 5.7 using TSQLConnection or will I have to downgrade my MySQL Version? I have FreePascal 3.0.0 which appears to be the most current version. I have it on a Ubuntu Linux 16.10 X86-64 system. ___ fpc-pascal maillist

[fpc-pascal] FreePascal and MySQL

2015-05-01 Thread Terry A. Haimann
I was kind of unimpressed with the performance of TSqlQuery compared to c. I wrote two programs that built the same identical table. A random set of names with addresses. I found the user time of the program written in c was 20% of that which was written in Free Pascal. Is there any chance

[fpc-pascal] Zeosdbo

2015-04-13 Thread Terry A. Haimann
I'm sure its possible to connect to Mysql with Zeosdbo from a command line FreePascal Program, but I am not sure how. I tried using the same includes that are for the Lazarus components, but it didn't find those files. Any help would be appreciated.

[fpc-pascal] Writing a Console App in FreePascal that connects to MySQL

2015-03-26 Thread Terry A. Haimann
I was trying to see how to write a Console Appication in FreePascal that will connect to MySQL. I know how to do this in c, but thought it would be interesting to be able to do it in Pascal. How should FConnection and FTransaction be declared or are the declared in a library somewhere? I have

[fpc-pascal] 64 bit ?

2011-05-18 Thread Terry A. Haimann
I have a desktop with a 64bit AMD x4 Phenom processor. I have noticed that FreePascal programs perform worse on this computer then they do on my 32 bit laptop. Integer performance seems to be about 3 times worse then on the laptop. Now if I convert the pascal source to c and compile that as

Re: [fpc-pascal] Re: tstringlist.savetostream

2010-03-17 Thread Terry A. Haimann
-pascal] Re: tstringlist.savetostream To: FPC-Pascal users discussions fpc-pascal@lists.freepascal.org Message-ID: 20100317055250.144d617...@turtle.stack.nl Content-Type: text/plain; charset=US-ASCII In our previous episode, Terry A. Haimann said: Virtually the same logic in a fpc program doesn't

[fpc-pascal] Re: tstringlist.savetostream

2010-03-16 Thread Terry A. Haimann
Ok, I have a Lazarus test program that has the following code: procedure TMainForm.ExecButClick(Sender: TObject); Var StdStrLst, ErrorStrLst: TStringList; MyProcess: TProcess; begin StdStrLst := TStringlist.Create; ErrorStrLst := TStringlist.Create; MyProcess :=

[fpc-pascal] tstringlist.savetostream

2010-03-15 Thread Terry A. Haimann
After running tstringlist.savetostream how can I make sure that the buffer has been flushed and data sent successfully? Thx ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] including libraies ?

2010-03-14 Thread Terry A. Haimann
I tried to write a little utility to submit a command to the At Facility. The code to do this is as follows: program TestPrg; Uses Classes, Process; Var i:Integer; Cmd, Pre, Post, StrVar, SwStr:String; MyProcess: TProcess; SOut, EOut, StdStrLst: TStringList; Begin