Recent

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

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11351
  • FPC developer.
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

  • Sr. Member
  • ****
  • Posts: 346
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: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, 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: 98
  • 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: 1927
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

  • Hero Member
  • *****
  • Posts: 518
    • 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.7 (SVN) FPC 3.0.0

Leledumbo

  • Hero Member
  • *****
  • Posts: 8744
  • 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

  • Hero Member
  • *****
  • Posts: 518
    • 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.7 (SVN) FPC 3.0.0

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • 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 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
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: 3538
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: 3237
  • 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 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

bonmario

  • Sr. Member
  • ****
  • Posts: 346
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

 

TinyPortal © 2005-2018