* * *

Author Topic: FPC 2.6.4 released!  (Read 18734 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5643
FPC 2.6.4 released!
« on: March 11, 2014, 08:39:03 pm »

Finally, FPC 2.6.4 has landed. FPC 2.6.4 is an update to 2.6.2 and 2.6.0 that
contains most library progress over the 2.6.2. It will probably conclude the
2.6.x branch.

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

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

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/2.6.4/

We hope the freepascal.stack.nl mirror will come into sync again in the coming
days.

Enjoy!

The Free Pascal Compiler Team


                            Free Pascal Compiler

                                Version 2.6.4

******************************************************************************
                              What's New in 2.6.4
******************************************************************************

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

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

Some highlights are:

Packages:
  •    Lots and lots fixes and improvements for fcl-db
  •   web and json packages synchronized.
  •   improvements to the chmcmd compiler.
  •   Several fixes for winunits (and winceunits)
Docs:
  • Many additions
  • fpjson documented.
See http://bugs.freepascal.org/changelog_page.php for the list of reported
bugs which have been fixed in this release.



jwdietrich

  • Hero Member
  • *****
  • Posts: 932
    • formatio reticularis
Re: FPC 2.6.4 released!
« Reply #1 on: March 11, 2014, 09:51:06 pm »
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html for details.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

Lazarus 1.6.4 | FPC 3.0.2 | PPC, Intel, ARM | macOS, Windows, Linux

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5643
Re: FPC 2.6.4 released!
« Reply #2 on: March 12, 2014, 11:08:01 am »
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html for details.

Please do not make such statements with a very secure proof.

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: FPC 2.6.4 released!
« Reply #3 on: March 12, 2014, 11:12:40 am »
Agreed. Going by the linked thread, I strongly suspect jwdietrich did not follow the steps required in
http://wiki.lazarus.freepascal.org/Installing_Lazarus
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

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: FPC 2.6.4 released!
« Reply #4 on: March 12, 2014, 01:41:19 pm »
http://forum.lazarus.freepascal.org/index.php/topic,23885.0/topicseen.html

Give me a day or two and the fink packages for fpc 2.6.4 and lazarus 1.2 are ready.

MiSchi

P.S. fink packages are out. GO GO GO!

@jw: Please mark this thread as solved.
Lazarus 1.7 (SVN) FPC 3.0.0

zeljko

  • Hero Member
  • *****
  • Posts: 922
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: FPC 2.6.4 released!
« Reply #5 on: March 12, 2014, 02:56:14 pm »
Be careful, FPC 2.6.4 is incompatible with Lazarus 1.2, at least at present and on Mac OS X. See http://forum.lazarus.freepascal.org/index.php/topic,23885.0.html for details.

Please do not make such statements with a very secure proof.

Actually it can be compiled, but there's a bug (carbon and qt ws) which is fixed in trunk and will be merged to 1.2.2.
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=44316
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=44315

So if someone is willing to use 2.6.4 with laz 1.2 and uses carbon or qt then above patches must be applied otherwise it'll
crash.



CandyMan30

  • Newbie
  • Posts: 2
Re: FPC 2.6.4 released!
« Reply #6 on: March 12, 2014, 07:54:16 pm »
Example how to create 64-bit program for dos. Maybe you create new target - DOS64.

Tomas Hajny

  • Moderator
  • New member
  • *****
  • Posts: 21
Re: FPC 2.6.4 released!
« Reply #7 on: April 03, 2014, 01:08:20 pm »
Well, the example is interesting. However, it is not clear to me what is the environment which should be used for running this example. Is it for 16-bit MS-DOS with some 64-bit extender running on a machine with x86_64 CPU? If so, can you provide some reference for that 64-bit extender ("Adam")? Or is it a 32-bit extender, 32-bit environment (including 32-bit memory addressing, etc.) and just benefitting from possibility of 64-bit registers and operations and increased number of registers?

What is the status of the included sources (who has created them and with which licence)? Source code for the object files is not included - is there some special reason for that?

igouy

  • New member
  • *
  • Posts: 24
Re: FPC 2.6.4 released!
« Reply #8 on: April 26, 2014, 04:41:29 pm »
For previous versions SourceForge has provided an x86_64-linux.tar but for fpc-2.6.4 there only seems to be fpc-2.6.4.i386-linux.tar ?

Tomas Hajny

  • Moderator
  • New member
  • *****
  • Posts: 21
Re: FPC 2.6.4 released!
« Reply #9 on: April 26, 2014, 06:13:55 pm »
Sorry, fixed now - the file has been available on the FTP servers but missing from SourceForge indeed.

carmarri

  • New member
  • *
  • Posts: 6
Re: FPC 2.6.4 released!
« Reply #10 on: July 18, 2014, 12:42:13 pm »
Hi,

I've just downloaded the latest version of Lazarus (1.2.4) and I've noticed that command Split is not working properly, while command ExtractStrings is working perfectly in the same string.
I'm trying to get the lines of a text.
My text is:
Quote
Line 01
Line 02
Line 03
Line 04
Line 05
Line 06
Line 07
Line 08
My code:
Code: [Select]
mylist := Split(#13#10, mytext);The result contains only from line 01 to line 07, so last item is missing.

This was working on previous versions.

How can I open an issue in bugtracker? Where should I place it: lazarus, FPC?

Thanks

Blaazen

  • Hero Member
  • *****
  • Posts: 2385
  • POKE 54296,15
    • Eye-Candy Controls
Re: FPC 2.6.4 released!
« Reply #11 on: July 18, 2014, 12:58:36 pm »
Where is function Split defined ?
Also, you didn't mention what OS you have. Anyway, use constant LineEnding rather than hard-coded #13#10, it's cross platform.
Lazarus 1.9.0 r55743 FPC 3.0.2 x86_64-linux-qt Chakra, Qt 4.8.7, Plasma 5.9.4
Lazarus 1.6.4 r54278 FPC 3.0.2 i386-win32-win32/win64 Wine 2.4

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

howardpc

  • Hero Member
  • *****
  • Posts: 2300
Re: FPC 2.6.4 released!
« Reply #12 on: July 18, 2014, 01:13:56 pm »
This useful Split function is in TAChartUtils

Code: [Select]
function Split(AString: String; ADest: TStrings = nil; ADelimiter: Char = '|'): TStrings;

however, it does not seem to be the one referred to above.

carmarri

  • New member
  • *
  • Posts: 6
Re: FPC 2.6.4 released!
« Reply #13 on: July 18, 2014, 01:47:00 pm »
My apologies, because while trying to answer to @Blaazen, I realised that this funtion comes from a 3rd party library I'm currently using. I'm embarrassed!

Thank you very much for your support.

wbeppler

  • New member
  • *
  • Posts: 7
Re: FPC 2.6.4 released! but what means fpc271 ?
« Reply #14 on: October 31, 2014, 12:14:45 am »
hi,

i searched for newest version of fpc and found:
http://sourceforge.net/projects/fpc-cross/
the filename is fpc271.7z

is this a newer version or what means the number ?

thanks

wolfgang :-)

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus