dcsimg
Linux Today: Linux News On Internet Time.





More on LinuxToday


Linux Journal: Writing GTK+ Programs with the Free Pascal Compiler

Apr 09, 2002, 03:00 (5 Talkback[s])
(Other stories by Ralph Krause)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


"Being a fan of Delphi/Pascal for Windows programming, I have been curious about the Free Pascal project for quite some time. Free Pascal is an object-oriented compiled language that has been in development since 1993. I've also been interested in writing GUI applications for Linux, which recently prompted me to give Free Pascal a try. This article will briefly explain, based on my (limited) experience, how to write graphical applications using the GIMP Took Kit (GTK+) and the Free Pascal compiler on Linux.

"The Free Pascal compiler (FPC) is a 32-bit compiler released under the GPL that is compatible with Turbo Pascal and implements Borland Delphi extensions, such as exceptions and overloading. It has been under development since 1993 and is available for a large number of operating systems including Linux, OS/2, Windows and DOS.

"To install Free Pascal download the appropriate binary from the Free Pascal web site and follow the installation instructions. Don't forget to download the documentation, which is separate from the binary files. The Free Pascal compiler is written in Pascal, so don't download the source unless you already have a Pascal compiler on your machine. The standard installation provides the compiler, several Pascal tools, a complete set of system units, documentation and example programs..."

Complete Story

Related Stories: