Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-11

Free Pascal 2.4.2 minimal distros for fpGUI available

14 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Paul Breneman

This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI 0.7 release (Aug 2010):
http://www.turbocontrol.com/easyfpgui.htm

The i386 Linux version is almost ready. Email me if you want to test a private copy of that distro.

Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software development services - Educational programming project for environment monitoring - Information on using FreePascal for embedded systems - Support information for the TurboPower open source libraries

Reply by email

Paul Breneman
to Graeme Geldenhuys
Graeme Geldenhuys wrote 7 lines
On 14 November 2010 04:09, Paul Breneman wrote: > This web page has i386 Win32 and ARM WinCE cross-compiler zips that include > everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI > 0.7 release (Aug 2010): > http://www.turbocontrol.com/easyfpgui.htm Nicely done, thanks Paul.

Thanks for fpGUI!

Please check your spam folder for an email from me. Or just send me an email and I'll reply to it. We had some email discussion on 16-Jan-2010. I could use your help on a few items with the i386 Linux distro that isn't on that page yet.

Reply by email

Paul Breneman
to Paul Breneman: This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything…

Paul Breneman wrote on 11/13/2010:

Show quoted text 7 lines
This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI 0.7 release (Aug 2010): http://www.turbocontrol.com/easyfpgui.htm The i386 Linux version is almost ready. Email me if you want to test a private copy of that distro.

If you downloaded the i386 Win32 111310 version to see what fpGUI controls look like, you might consider downloading the new 111410 version from today. Not only are the two simple programs from yesterday still there, but the source for the fpGUI uidesigner program is now included so you can compile and run that program. And, of course, the uidesigner program itself is a good example of a more complex fpGUI program.

Reply by email

Michael Schnell
to Paul Breneman: This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything…
Paul Breneman wrote 8 lines
This web page has i386 Win32 and ARM WinCE cross-compiler zips that include everything needed (no install necessary) to test FPC 2.4.2 with the fpGUI 0.7 release (Aug 2010): http://www.turbocontrol.com/easyfpgui.htm The i386 Linux version is almost ready. Email me if you want to test a private copy of that distro.

Great !

I's like to take a look at the ARM-Linux cross tool chain !

Special request: remote debugging vie Ethernet would be very desirable.

Thanks a lot !

-Michael

Reply by email

Paul Breneman
to Michael Schnell: Great ! I's like to take a look at the ARM-Linux cross tool chain ! Special request:…
Michael Schnell wrote 12 lines
On 11/14/2010 03:09 AM, Paul Breneman wrote: > This web page has i386 Win32 and ARM WinCE cross-compiler zips that > include everything needed (no install necessary) to test FPC 2.4.2 > with the fpGUI 0.7 release (Aug 2010): > http://www.turbocontrol.com/easyfpgui.htm > > The i386 Linux version is almost ready. Email me if you want to test > a private copy of that distro. > Great ! I's like to take a look at the ARM-Linux cross tool chain !

Note that I wrote that i386 Linux is almost ready. ARM Linux isn't coming soon unless there is an official release for that platform, and that hasn't happened since the 2.2.2 release.

Special request: remote debugging vie Ethernet would be very desirable.

Indeed!

Reply by email

Henry Vermaak
to Paul Breneman
Paul Breneman wrote 21 lines
Michael Schnell wrote: > On 11/14/2010 03:09 AM, Paul Breneman wrote: >> This web page has i386 Win32 and ARM WinCE cross-compiler zips that >> include everything needed (no install necessary) to test FPC 2.4.2 >> with the fpGUI 0.7 release (Aug 2010): >> http://www.turbocontrol.com/easyfpgui.htm >> >> The i386 Linux version is almost ready. Email me if you want to test >> a private copy of that distro. >> > Great ! > > I's like to take a look at the ARM-Linux cross tool chain ! Note that I wrote that i386 Linux is almost ready. ARM Linux isn't coming soon unless there is an official release for that platform, and that hasn't happened since the 2.2.2 release. > Special request: remote debugging vie Ethernet would be very desirable. Indeed!

This only concerns the toolchain. All you need is gdbserver for your target machine and an arm-linux-gdb on your host machine.

Henry

Reply by email

Paul Breneman
to Henry Vermaak
Henry Vermaak wrote 25 lines
On 15/11/10 13:13, Paul Breneman wrote: > Michael Schnell wrote: >> On 11/14/2010 03:09 AM, Paul Breneman wrote: >>> This web page has i386 Win32 and ARM WinCE cross-compiler zips that >>> include everything needed (no install necessary) to test FPC 2.4.2 >>> with the fpGUI 0.7 release (Aug 2010): >>> http://www.turbocontrol.com/easyfpgui.htm >>> >>> The i386 Linux version is almost ready. Email me if you want to test >>> a private copy of that distro. >>> >> Great ! >> >> I's like to take a look at the ARM-Linux cross tool chain ! > > Note that I wrote that i386 Linux is almost ready. ARM Linux isn't > coming soon unless there is an official release for that platform, and > that hasn't happened since the 2.2.2 release. > >> Special request: remote debugging vie Ethernet would be very desirable. > > Indeed! This only concerns the toolchain. All you need is gdbserver for your target machine and an arm-linux-gdb on your host machine.

Thanks Henry for that info.

I try hard to write Pascal programs without using pointers and without allocating or deallocating memory. If the RTL is reliable (when it does those things behind the scenes) then all of *my* bugs are logical (and shouldn't crash the program) and usually a few debug or log messages will be all that is needed (and many times I don't even need those). That has worked very well for me since 1985 since the TurboPascal RTL always seemed *very* reliable. In 1995 the VCL wasn't quite as solid but still pretty good...

And since Pascal strings can contain nulls I never have to allocate buffers in my communication programs but rather I just use (safe) strings there as well.

I'd like to take the minimal distros and add a simple option to use MSEide and it supports debugging from what I understand. Then maybe extending that with remote debugging would be the next item.

I know that you and many other experts on this list already have this stuff figured out, but I've had to spend my time on a lot of other things. The minimal distros started out as my method of trying to reduce things as much as possible when I started programming on ARM Linux. I am amazed at how simple the Free Pascal "hello world" distro is, so it has been quite an education for me to go all the way down to that and then build things on top of that in various ways.

Are there other open source development tools with which I could do Windows and Linux minimal distros? If so I'm interested in adding those to the web site.

It is neat how, especially for Windows, there are basically no requirements. Well, I guess ZIP support wasn't in the OS before XP so that is one requirement. :) Right now I'm trying to figure out how to provide something for the Linux distro that works as simply as the compile.bat does on Windows.

Yesterday at work I started using the latest Win32 and WinCE minimal distros to develop a very simple fpGUI program for a nice PDA. I'll develop mostly on Win32 and test occasionally on WinCE and the actual device. It is nice to use the fruits of my *long* day Saturday. :) Most of all I'm thankful for the great Free Pascal and fpGUI tools that allow such efficient development environments!

I guess I wrote what should be a blog article somewhere... :)

Reply by email

Martin Schreiber
to Paul Breneman
Paul Breneman wrote 5 lines
I'd like to take the minimal distros and add a simple option to use MSEide and it supports debugging from what I understand. Then maybe extending that with remote debugging would be the next item.

MSEide is ready to work with remote gdbserver and gdbproxy. I even use it for C development with AVR32.

Martin

Reply by email

Michael Schnell
to Paul Breneman: Thanks Henry for that info. I try hard to write Pascal programs without using pointers…
Paul Breneman wrote
I try hard to write Pascal programs without using pointers and without allocating or deallocating memory.

OOpps. How is this possible :) ? But in what way does this help on that issue ? I do see that memory allocation/deallocation is a source to very hard to find bugs, but avoiding it makes may things close to impossible.

-Michael

Reply by email

Paul Breneman
to Martin Schreiber: MSEide is ready to work with remote gdbserver and gdbproxy. I even use it for C…
Martin Schreiber wrote 7 lines
On Tuesday, 16. November 2010 14.52:12 Paul Breneman wrote: > I'd like to take the minimal distros and add a simple option to use > MSEide and it supports debugging from what I understand. Then maybe > extending that with remote debugging would be the next item. > MSEide is ready to work with remote gdbserver and gdbproxy. I even use it for C development with AVR32.

That is good to know. Thanks Martin!

Reply by email

Michael Schnell
to Paul Breneman
Paul Breneman wrote 10 lines
Martin Schreiber wrote: > On Tuesday, 16. November 2010 14.52:12 Paul Breneman wrote: >> I'd like to take the minimal distros and add a simple option to use >> MSEide and it supports debugging from what I understand. Then maybe >> extending that with remote debugging would be the next item. >> > MSEide is ready to work with remote gdbserver and gdbproxy. I even > use it for C development with AVR32. That is good to know. Thanks Martin!

Indeed !
So this should be possible with Lazarus, too. It would be great to see someone here who successfully tried it. :)

-Michael

Reply by email

Paul Breneman
to Michael Schnell: OOpps. How is this possible :) ? But in what way does this help on that issue ? I do see…
Michael Schnell wrote 9 lines
On 11/16/2010 02:52 PM, Paul Breneman wrote: > > > I try hard to write Pascal programs without using pointers and without > allocating or deallocating memory. OOpps. How is this possible :) ? But in what way does this help on that issue ? I do see that memory allocation/deallocation is a source to very hard to find bugs, but avoiding it makes may things close to impossible.

I don't doubt that there are certain domains where application-level memory allocation/deallocation is very necessary. But for the type of programs I usually write it isn't. I've written a lot of machine control projects with TurboPascal starting in 1985. The only strings (short) at that time were still long enough for the serial data buffers I needed.

In 1985 I started working on an existing real-time video editing program written in PDP-11 assembler. In the early 90s I ported that to pure TurboPascal (no assembler) with ~50,000 source lines. The only interrupts were for the keyboard and also a video timing interrupt (50 or 60 Hz) and about one-third of the code lived in the timing interrupt routine. One system had 24 RS-422 serial ports (38,400 baud) in an inexpensive RadioShack Tandy 386 computer, which was the main computer that controlled about $2 million of digital video editing equipment. Quite a funny picture in a way (a peasant running a rich kingdom)...

Several fellows who developed such PC-based editors before me had to use expensive and complex intelligent multi-port serial port cards but thankfully I waited just long enough that the 16550 UART (with the 16 byte FIFO) had arrived on the scene so my system was much simpler. All of the commands (during the real-time recording) were 16 bytes or less so using 16550 UARTS it all worked without interrupts for the serial ports.

I just went back and searched the ~50,000 likes of source, and there is not a single New/Dispose (nor Mark/Release) in all of my code. My program never crashed (even at the beginning beta stage) and I never used a debugger but rather a little logging when needed.

All video editing is now done with fast computers but here is a freeware version of that program that can utilize 9 serial ports: http://www.brenemanlabs.com/MachOne5.htm
http://www.brenemanlabs.com/Mach1I.htm

One of my favorite authors (Jack Crenshaw) likes TurboPascal a lot, and (if I remember right) years ago he wrote something along the lines of: When I compile a C program I'm surprised if it runs the first time, but when I compile a TurboPascal program I'm surprised if it doesn't run the first time.

Reply by email