Lazarus

Announcements => Lazarus => Topic started by: marcov on February 24, 2013, 05:09:50 pm

Title: FPC 2.6.2 released
Post by: marcov on February 24, 2013, 05:09:50 pm
Hello,

Finally, FPC 2.6.2 has landed. FPC 2.6.2 is an update to 2.6.0 that
contains most library progress over the 2.6.0 and some crucial
compiler fixes.

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

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

For Downloads, please use the FTP server at

ftp://freepascal.stack.nl/pub/fpc/dist/2.6.2/

and sourceforge

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


as much possible.

Enjoy!

The Free Pascal Compiler Team


                            Free Pascal Compiler

                                Version 2.6.2

******************************************************************************
                              What's New in 2.6.2
******************************************************************************

Free Pascal 2.6.2 is a point release from the 2.6.0 fixes branch.

Please also see http://wiki.freepascal.org/User_Changes_2.6.2 (http://wiki.freepascal.org/User_Changes_2.6.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:


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

Title: Re: FPC 2.6.2 released
Post by: taazz on February 24, 2013, 05:55:15 pm
Great news, thank you.
Title: Re: FPC 2.6.2 released
Post by: goodname on February 24, 2013, 06:06:10 pm
Good news. Downloaded it yesterday and I'm using it with Lazarus 1.0.6.
Title: Re: FPC 2.6.2 released
Post by: BigChimp on February 24, 2013, 07:07:25 pm
Thanks a lot, Marco - good to see so many improvements in a new release.
Title: Re: FPC 2.6.2 released
Post by: Deepaak on February 25, 2013, 09:57:06 am
great news, downloading now...  :)
Title: Re: FPC 2.6.2 released
Post by: Nebula on February 25, 2013, 10:30:47 am
Nice, does that mean the MS SQL components will arrive with the next v of Laz.?
Title: Re: FPC 2.6.2 released
Post by: BigChimp on February 25, 2013, 10:39:32 am
Nice, does that mean the MS SQL components will arrive with the next v of Laz.?
I'd think so ;)
Title: Re: FPC 2.6.2 released
Post by: miquelmatas on February 25, 2013, 04:15:45 pm
lazarus-1.0.6-fpc-2.6.2-win64.exe when? ::)
Title: Re: FPC 2.6.2 released
Post by: Leledumbo on February 26, 2013, 08:32:51 am
Quote
lazarus-1.0.6-fpc-2.6.2-win64.exe when?
If you compile yourself, it's already there. Since 1.0.6 is just out, I don't think there will be 1.0.6 again but with 2.6.2, it would be 1.0.8. Well, if the policy doesn't change...
Title: Re: FPC 2.6.2 released
Post by: goodname on February 26, 2013, 04:37:41 pm
Some have asked how to use fpc 2.6.2 with Lazarus 1.0.6.

Get the appropriate binary for your system and install it. Get the source through here as well.
http://www.freepascal.org/download.var

The fpcbuild-2.6.2 seams to have the full source. View how the source for 2.6.0 is installed under your existing Lazarus install and follow the same pattern for wherever you installed fpc 2.6.2. Change the paths under menu item Tools Options Environment to point to the new 2.6.2 source. Lazarus should automatically rescan your source code.

Rebuild your Lazarus system.
Title: Re: FPC 2.6.2 released
Post by: miquelmatas on February 26, 2013, 04:49:00 pm
I've just installed from snapshots ftp.

Thanks very much!

Title: Re: FPC 2.6.2 released
Post by: Avishai on February 26, 2013, 04:52:17 pm
When I try to change Toolss/Options/Environment from 2.6.1 to 2.6.2 I get the following message:

The compiler file "C:\Lazarus\FPC\2.6.2\bin\x86_64-win64\FPC.exe" does not look correct: File not found
Title: Re: FPC 2.6.2 released
Post by: snorkel on February 26, 2013, 06:16:54 pm
Nice, does that mean the MS SQL components will arrive with the next v of Laz.?

Just rebuild 1.0.6 with the new compiler and the MS SQL server stuff
Is in the pallet
Title: Re: FPC 2.6.2 released
Post by: snorkel on February 26, 2013, 06:19:25 pm
Arch linux has the new compiler already 
Arch is the best linux for Lazarus :-)
Title: Re: FPC 2.6.2 released
Post by: Wok on February 27, 2013, 02:21:31 am
Lazarus 1.0.6 goes  always to 2.6.0 and not to 2.6.2
when i change the path,   a directory is not found

$(LazarusDir)fpc\$(FPCVer)\source  ->  C:\lazarus\fpc\2.6.2\source\   isn't there     :-(

What now ?
Title: Re: FPC 2.6.2 released
Post by: goodname on February 27, 2013, 04:18:20 am
For using Lazarus 1.0.6 with FPC 2.6.2 there are four main install steps in the following order. Install FPC 2.6.2 compiler, copy FPC 2.6.2 source, change paths to point to 2.6.2, and rebuild Lazarus.

If you skip one of the first two steps Lazarus will complain about files not being found when changing paths.

If Lazarus states that the fpc.exe cannot be found make sure that the compiler is actually installed.

If Lazarus states that the source cannot be found then get the source. Copy the source files to a 2.6.2 folder similar to how Lazarus installed the 2.6.0 source.
Title: Re: FPC 2.6.2 released
Post by: mariuz on February 27, 2013, 11:30:00 am
News is now added to hackernews
http://news.ycombinator.com/item?id=5291122

Reddit http://www.reddit.com/r/programming/comments/19be26/free_pascal_262_is_released/

And FirebirdNews
http://www.firebirdnews.org/?p=8376

also is sent to the editors of h-online , lwn.net and lxer.com

Title: Re: FPC 2.6.2 released
Post by: Leledumbo on February 27, 2013, 02:51:58 pm
Quote
Lazarus 1.0.6 goes  always to 2.6.0 and not to 2.6.2
when i change the path,   a directory is not found

$(LazarusDir)fpc\$(FPCVer)\source  ->  C:\lazarus\fpc\2.6.2\source\   isn't there     :-(

What now ?
How do you install 2.6.2? Can you verify that it's 2.6.2 in your PATH (run fpc in your console/terminal and see the version mentioned)?
Title: Re: FPC 2.6.2 released
Post by: Deepaak on February 27, 2013, 04:47:17 pm
Lazarus 1.0.6 goes  always to 2.6.0 and not to 2.6.2
when i change the path,   a directory is not found

$(LazarusDir)fpc\$(FPCVer)\source  ->  C:\lazarus\fpc\2.6.2\source\   isn't there     :-(

What now ?

Firstly download the source package from the url below.

Code: [Select]
ftp://freepascal.stack.nl/pub/fpc/dist/2.6.2/source/fpc-2.6.2.source.zip
Then create a folder
Code: [Select]
C:\Lazarus\fpc\2.6.2\sourcein your case

and extract these folders at the above location
Code: [Select]
packages
rtl

example
Code: [Select]
C:\Lazarus\fpc\2.6.2\source\packages
C:\Lazarus\fpc\2.6.2\source\rtl


source path in Tools -> Options -> FPC Source
Code: [Select]
$(LazarusDir)fpc\$(FPCVer)\source is good to go.

done.

Happy Coding... :)
Title: Re: FPC 2.6.2 released
Post by: Wok on February 27, 2013, 11:58:36 pm
Great,

Thx for the help :-)
Title: Re: FPC 2.6.2 released
Post by: anis2505 on March 01, 2013, 12:14:25 pm
Hi,
I downloaded FPC 2.6.2 (.exe) and installed on Windows( on c:\Program files\bla bla bla)
then I dowwloaded the Lazarus SVN to c:\lazarus,
I added the lazarus folder to path and the 2.6.2 fpc already added
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

regards
Title: Re: FPC 2.6.2 released
Post by: JuhaManninen on March 01, 2013, 03:02:46 pm
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

This is the old problem with Borland's / Embarcadero's "make" which is not compatible with FPC's gnu "make".
There are 2 alternative solutions:
1. Delete or rename the make command in Delphi's bin directory.
2. Adjust your PATH so that FPC's make is found first.

Juha
Title: Re: FPC 2.6.2 released
Post by: BigChimp on March 01, 2013, 03:04:11 pm
<shameless advert>
3. Download and run fpcup which makes sure the right make is used.
</advert>
But I'd go with Juha's number 2 advice...
Title: Re: FPC 2.6.2 released
Post by: howardpc on March 01, 2013, 03:07:38 pm
Also it's not a good idea to put FPC in a subfolder of c:\Program Files (or c:\Program Files (x86).
You may find you cannot now remove it.
Far better to install FPC in its own directory away from system files and data (e.g. c:\FPC or similar).
Title: Re: FPC 2.6.2 released
Post by: anis2505 on March 01, 2013, 10:30:54 pm
Then I tried to execute make on the c:\lazarus but I got
Quote
*** 1517 errors during make ***

Please how to do it.

This is the old problem with Borland's / Embarcadero's "make" which is not compatible with FPC's gnu "make".
There are 2 alternative solutions:
1. Delete or rename the make command in Delphi's bin directory.
2. Adjust your PATH so that FPC's make is found first.

Juha

Thanks option 2 worked great  ;).
TinyPortal © 2005-2018