* * *

Author Topic: FPC 2.6.0 released!  (Read 41436 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2810
FPC 2.6.0 released!
« on: January 01, 2012, 10:32:42 pm »
Hello,

first, FPC core wants to wish a happy 2012!

To start the new year with a bang, a new major release
of Free Pascal, version 2.6.0, was uploaded to our FTP servers.

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

For Downloads, please use the FTP server at

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

and sourceforge

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

as much possible.

Enjoy!

The Free Pascal Compiler Team


                            Free Pascal Compiler

                                Version 2.6.0

******************************************************************************
                              What's New in 2.6.0
******************************************************************************

Free Pascal 2.6.0 is a new major version of the Free Pascal compiler.

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

Some highlights are:

Platforms:
  * iPhoneSimulator target

Compiler:
  * Many new language features:
     * Objective-Pascal dialect, supported on all Mac OS X and iOS targets
     * constref parameter modifier for "const by reference"
     * Pascal boolean types with multiple sizes (boolean16/32/64)
     * ISO 7185 language mode (except for I/O). Features amongst others:
        * nested procedure variables
        * non-local goto's
     * Mac Pascal mode improvements
        * nested procedure variables
        * univ modifier
     * Intrinsics
        * sar (shift arithmetic right)
        * bsf/bsr (bitscan forward/reverse)
     * Delphi compatibility mode improvements
        * Nested types, class variables and class local constants
        * Advanced records syntax (no constructors yet)
        * (for..in) Enumerators in records
        * Class and record helpers
        * Generic records, arrays and procedural types
        * Delphi-compatibility of generics improved
        * Scoped enumerations
        * Custom messages for "deprecated" directive
        * Ability to use "&" for escaping keywords
  * New ARM code generator features
     * ARM VFPv2 and VFPv3 floating point unit support
     * Thumb-2 support

Packages:
  * Many improvements to the rtl
  * Many improvements to the database units (fcl-db)
  * Objective-Pascal interfaces to Foundation, AppKit, CoreData and WebCore
  * OpenGL headers updated to OpenGL 4.0
 
Details about these new features can be found at
http://wiki.freepascal.org/FPC_New_Features_2.6.0

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

IPguy

  • Sr. Member
  • ****
  • Posts: 385
Re: FPC 2.6.0 released!
« Reply #1 on: January 02, 2012, 02:22:03 am »
Does anyone have a schedule when the snapshots will include one with 2.6.0?  Hopefully, the 0.9.31 train.

bonmario

  • Full Member
  • ***
  • Posts: 223
Re: FPC 2.6.0 released!
« Reply #2 on: January 02, 2012, 07:27:01 am »
For Downloads, please use the FTP server at

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

and sourceforge

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

as much possible.


Great !!!
Someone knows where i can found files deb for Ubuntu 64 bit?

Thanks, Mario

BigChimp

  • Hero Member
  • *****
  • Posts: 5387
  • Add to the wiki - it's free ;)
    • FPCTwit twitter, PaperTiger scanning and other open source projects
Re: FPC 2.6.0 released!
« Reply #3 on: January 02, 2012, 07:32:35 am »
Thanks, Marco & team, for all your effort!
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

miquelmatas

  • Jr. Member
  • **
  • Posts: 95
  • Beginner forever.
Re: FPC 2.6.0 released!
« Reply #4 on: January 02, 2012, 08:34:09 am »
Does anyone have a schedule when the snapshots will include one with 2.6.0?  Hopefully, the 0.9.31 train.

Go to ftp://ftp.freepascal.org/pub/lazarus/snapshots/
--
Cheers.
Miquel.

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
Re: FPC 2.6.0 released!
« Reply #5 on: January 02, 2012, 12:18:36 pm »
Thank you!
It works great here.
Lazarus 0.9.31 r34537M FPC 2.6.0 x86_64-linux-gtk 2
« Last Edit: January 02, 2012, 12:22:09 pm by theo »

Ocye

  • Sr. Member
  • ****
  • Posts: 411
    • Scrabble3D
Re: FPC 2.6.0 released!
« Reply #6 on: January 02, 2012, 01:37:27 pm »
Great news for the new year, thanks!
But why is there only a crosscompiler for win64?
Lazarus 1.3 r44896M FPC 2.6.4 x86_64-linux-qt

Leledumbo

  • Hero Member
  • *****
  • Posts: 5615
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: FPC 2.6.0 released!
« Reply #7 on: January 03, 2012, 02:54:21 am »
Quote
But why is there only a crosscompiler for win64?
Perhaps because that's the most common target for win32?

ahmetnurideniz

  • Full Member
  • ***
  • Posts: 110
  • As you sow, you shall reap.
    • Big Student Web Site
Re: FPC 2.6.0 released!
« Reply #8 on: January 03, 2012, 09:32:38 am »

thanks for all.

Ocye

  • Sr. Member
  • ****
  • Posts: 411
    • Scrabble3D
Re: FPC 2.6.0 released!
« Reply #9 on: January 03, 2012, 12:30:04 pm »
Perhaps because that's the most common target for win32?
Okay, but I still look for a native win64 compiler (ppcx86.exe). Of course I could compile it from source by myself.
Lazarus 1.3 r44896M FPC 2.6.4 x86_64-linux-qt

Blaazen

  • Hero Member
  • *****
  • Posts: 1937
  • POKE 54296,15
    • Eye-Candy Controls
Re: FPC 2.6.0 released!
« Reply #10 on: January 03, 2012, 01:13:14 pm »
Good job, thanks to FPC team.

But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?

I use FPC 2.5.1 r19956 and it works very well (Free Pascal Compiler version 2.5.1 [2011/07/25] for x86_64).
Should I move to 2.6.0, 2.7.1 or stay with 2.5.1 ?

Thanks.



Lazarus 1.3 r46089M FPC 2.7.1 r27817 x86_64-linux-qt Chakra 2013.5, Qt 4.8.6, KDE4.13.2
Lazarus 1.2.4 r45510 FPC 2.6.4 i386-win32-win32/win64 Wine 1.7.22
Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
Re: FPC 2.6.0 released!
« Reply #11 on: January 03, 2012, 01:21:44 pm »
But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?

I have Lazarus 0.9.31 r34537M FPC 2.6.0 x86_64-linux-gtk 2 here and it works fine.

However, Lazarus has a problem if you use some of the new features.
For example, it does not like the new class helper syntax.

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3409
Re: FPC 2.6.0 released!
« Reply #12 on: January 03, 2012, 02:02:31 pm »
But what is now recommended compiler for the Lazarus trunk (SVN 0.9.31) ?

Lazarus has currently 5 supported FPC versions: 2.4.2, 2.4.4, 2.5.1 (January 19th 2011), 2.6.x, 2.7.1 (only new revisions)

Blaazen

  • Hero Member
  • *****
  • Posts: 1937
  • POKE 54296,15
    • Eye-Candy Controls
Re: FPC 2.6.0 released!
« Reply #13 on: January 03, 2012, 02:10:25 pm »
@theo & felipemdc

Thanks.
Lazarus 1.3 r46089M FPC 2.7.1 r27817 x86_64-linux-qt Chakra 2013.5, Qt 4.8.6, KDE4.13.2
Lazarus 1.2.4 r45510 FPC 2.6.4 i386-win32-win32/win64 Wine 1.7.22
Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

bonmario

  • Full Member
  • ***
  • Posts: 223
Re: FPC 2.6.0 released!
« Reply #14 on: January 06, 2012, 10:52:44 am »

Great !!!
Someone knows where i can found files deb for Ubuntu 64 bit?

Thanks, Mario


Some news?

Thanks, Mario

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads