FreePascal Details

Contents



FreePascal Team announces FPC version 1.9.6
Posted by Olle Raab, 01/03/05

The Free Pascal Team is pleased to announce that FPC version 1.9.6 (or 2.0.0-RC1) is available and ready for download.

This is a pre-release of version 2.0. As such, it is considered a beta of the upcoming 2.0 release, which is expected to be released in one or two months from here.

While this is officially a beta, we believe that this version is release quality. We would very much like you download and install this version, and give any feedback regarding bugs and other issues.

If no major bugs are found, version 2.0 will be released in a short timeframe.

Highlights in this version:

Compiler:


RTL/FCL/FV:


IDE:


Docs:


And of course many many bugfixes.

A complete list of changes can be found in the whatsnew.txt file in the distribution.

Downloads are available from the website for the following platforms:


To download, go to
http://www.freepascal.org/sdown.html and select a mirror near you. Look in the section 'official beta releases' and select the platform of your choice; then follow the download instructions.

If you choose the SourceForge mirror, the download instructions are different. Also note that sourceforge mirrors are not immediatly up-to-date.

Enjoy it, and a Happy New Year from

The Free Pascal team.



Mac OS X pre-release version of the Free Pascal Compiler available!
Posted by Jonas Maebe, 01/04/04

--- What is ready?



--- What is still left to do?


--- System requirements

The Darwin RTL is based on libc and uses only a few basic library calls. Therefore, even though I compiled the binary below on Mac OS X 10.3.2, it should theoretically run on everything, even the Mac OS X Public Beta :) The BSD subsystem and the Developer Tools (or XCode) must be installed, though. There are no further requirements.


--- Where to get it

* The source
You can get the source code of the compiler and rtl by following the instructions at <http://www.freepascal.org/develop.html#cvs>. To recompile the compiler and rtl, first download and install the binary snapshot as indicated below, then go in the fpc/compiler directory you checked out from cvs and type "make cycle".
* The binary snapshot
You can download a minimal binary snapshot from http://jonagold.elis.ugent.be/~jonas/fpc/fpc-darwinppc-20040104.tar.bz2. I would suggest not unpacking it with Stuffit Expander, but on the command line. Use

gnutar xjvf fpc-darwinppc-20040104.tar.bz2

and it will expand the file in the current directory. You'll get one directory (fpc) with two subdirectories: bin and rtl. The bin directory contains the two program files, ppcppc (the actual compiler) and fpc (the compiler front-end). The rtl directory contains a darwin subdirectory with all units.

The easiest will be if you put this fpc directory in your home directory, then create a file called ".fpc.cfg" (note the extra "." at the start) in your home directory with as contents (replace <your_short_name> with your short login name)

-Fu/Users/<your_short_name>/fpc/rtl/darwin
-O1
-vei

Next, if your shell is bash, add the following to the file .bash_profile in your home directory (create the file if it doesn't exist yet):

export PATH=~/fpc/bin:"$PATH"

If your shell is tcsh, add the following to the file .tcshrc in your home directory:

setenv PATH ~/fpc/bin:{$PATH}

Type 'exit' in the Terminal window, and then open a new one. From now on, you can compile programs by going to the directory with your source files and typing e.g.

fpc helloword.pas

Run the result by typing

./helloworld