Sign in Join

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

Mailing lists / fpc-pascal / 2017-02

FPC 3.0.2 released!

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Marco van de Voort

Hello,

Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that contains some compiler bugfixes and library progress since 3.0.0

Building is still in progress and some formats (deb) and other minor targets might
not be available yet.

Changes that may break backwards compatibility are documented at: http://wiki.freepascal.org/User_Changes_3.0.2

Due to issues with mirroring, please use sourceforge as much as possible,

http://sourceforge.net/projects/freepascal/files/

or the main (Hungarian) FTP server at

ftp://www.hu.freepascal.org/pub/fpc/dist/3.0.2

Enjoy!

The FreePascal team

Free Pascal Compiler

Version 3.0.2

****************************************************************************** What's New in 3.0.2
******************************************************************************

Free Pascal 3.0.2 is a point release of the 3.0.x fixes branch.

Please also see http://wiki.freepascal.org/User_Changes_3.0.2 for a list of changes that may affect the behaviour of previously working code, and how to cope with these changes.

Some highlights are:

Rtl:
* TRect, TPoint and similar types are now type compatible between Types and Windows unit, and are now advanced records.

Packages:
* googleapi and fcl-pdf packages.
* fcl-db and web packages synchronized
* unicode tables updated.

See http://bugs.freepascal.org/changelog_page.php for the list of reported bugs which have been fixed in this release.

Jonas Maebe
to Bo Berglund
Bo Berglund wrote
Am I still supposed to use 2.6.4 as compiler to build 3.0.2? I am getting an error about the "seed" compiler when I try to build 3.0.2 with a 3.x compiler....

You have to build it with the previous release, i.e. 3.0.0

Jonas

Bo Berglund
to Jonas Maebe
Jonas Maebe wrote 7 lines
On 01/03/17 21:55, Bo Berglund wrote: > Am I still supposed to use 2.6.4 as compiler to build 3.0.2? > I am getting an error about the "seed" compiler when I try to build > 3.0.2 with a 3.x compiler.... You have to build it with the previous release, i.e. 3.0.0

The error message I received talked about a requirement for 2.6.4 But I pointed make towards a 3.0.0 ppcarm and it did the build OK.

Bo Berglund Developer in Sweden
Jonas Maebe
to Bo Berglund
Bo Berglund wrote 12 lines
On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe wrote: > On 01/03/17 21:55, Bo Berglund wrote: >> Am I still supposed to use 2.6.4 as compiler to build 3.0.2? >> I am getting an error about the "seed" compiler when I try to build >> 3.0.2 with a 3.x compiler.... > > You have to build it with the previous release, i.e. 3.0.0 > The error message I received talked about a requirement for 2.6.4 But I pointed make towards a 3.0.0 ppcarm and it did the build OK.

I don't know how that is possible with the official 3.0.2 release sources, since that Makefile does not mention 2.6.4: http://svn.freepascal.org/svn/fpc/tags/release_3_0_2/Makefile.fpc

Jonas

Mark Morgan Lloyd
to Bo Berglund: On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe The error message I received talked about…
Bo Berglund wrote
On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe wrote: > On 01/03/17 21:55, Bo Berglund wrote:>> Am I still supposed to use 2.6.4 as compiler to build 3.0.2?>> I am getting an error about the "seed" compiler when I try to build>> 3.0.2 with a 3.x compiler....>>You have to build it with the previous release, i.e. 3.0.0>The error message I received talked about a requirement for 2.6.4But I pointed make towards a 3.0.0 ppcarm and it did the build OK.

Is this using fpc's -V option?

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]
Bo Berglund
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 11 lines
On 02/03/17 06:00, Bo Berglund wrote: > On Wed, 1 Mar 2017 22:04:26 +0100, Jonas Maebe wrote: >> On 01/03/17 21:55, Bo Berglund wrote: > Am I still supposed to use 2.6.4 as compiler to build 3.0.2? > I am getting an error about the "seed" compiler when I try to build > 3.0.2 with a 3.x compiler.... >You have to build it with the previous release, i.e. 3.0.0 The error message I received talked about a requirement for 2.6.4 But I pointed make towards a 3.0.0 ppcarm and it did the build OK. Is this using fpc's -V option?

The command I used inside the downloaded 3.0.2 source dir /home/pi/dev/fpc/3.0.2 was:

make all OPT=-dFPC_ARMHF

This threw the error message.

Changed to this and it worked:

make all FPC=/home/pi/dev/fpc/ppcarm OPT=-dFPC_ARMHF

The /home/pi/dev/fpc/ppcarm is a 3.0.0 version.

The one on path is:

which ppcarm
/home/pi/bin/ppcarm

Checked the version (is there a command switch to just print the version?)

/home/pi/bin/ppcarm
Free Pascal Compiler version 3.0.2rc1 [2017/01/09] for arm

So it seems like I used an RC version of the 3.0.2 fpc to build 3.0.2 release, that is probably in error. But the error message did not say I should use 3.0.0, instead it said I should use 2.6.4...

Bo Berglund Developer in Sweden
Bo Berglund
to Bo Berglund
Bo Berglund wrote
(is there a command switch to just print the version?

Found it:

$ /home/pi/bin/ppcarm -iW
3.0.2rc1
Bo Berglund Developer in Sweden