Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-22 Thread Michael Van Canneyt



On Fri, 22 Oct 2010, Mark Morgan Lloyd wrote:


Mark Morgan Lloyd wrote:

The only niggle I've got is that when I tried to build using 2.2 it went 
part way through and then barfed because of an out parameter. Could the 
compiler version be checked right at the start of the build?


Also trying to make -j 12 on a 12-CPU system wasn't reliable. I don't 
understand the build process well enough to know where to start on that one.


make has no idea of how to correctly calculate interdependencies of pascal
units. It works for simple cases, but in general it is unpredictable.

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-22 Thread Jonas Maebe

On 22 Oct 2010, at 15:32, Michael Van Canneyt wrote:

 On Fri, 22 Oct 2010, Mark Morgan Lloyd wrote:
 
 Also trying to make -j 12 on a 12-CPU system wasn't reliable. I don't 
 understand the build process well enough to know where to start on that one.

I regularly use make -j 8 and it works fine for me.

 make has no idea of how to correctly calculate interdependencies of pascal
 units. It works for simple cases, but in general it is unpredictable.

The dependencies are specified in the Makefiles themselves.


Jonas___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-22 Thread Michael Van Canneyt



On Fri, 22 Oct 2010, Jonas Maebe wrote:



On 22 Oct 2010, at 15:32, Michael Van Canneyt wrote:


On Fri, 22 Oct 2010, Mark Morgan Lloyd wrote:


Also trying to make -j 12 on a 12-CPU system wasn't reliable. I don't 
understand the build process well enough to know where to start on that one.


I regularly use make -j 8 and it works fine for me.


make has no idea of how to correctly calculate interdependencies of pascal
units. It works for simple cases, but in general it is unpredictable.


The dependencies are specified in the Makefiles themselves.


But manually, if I'm correct ?
But what happens if 2 units use each other ?

Mihael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-22 Thread Jonas Maebe


On 22 Oct 2010, at 16:35, Michael Van Canneyt wrote:


On Fri, 22 Oct 2010, Jonas Maebe wrote:


The dependencies are specified in the Makefiles themselves.


But manually, if I'm correct ?


Yes.


But what happens if 2 units use each other ?


The dependencies are specified at the package level, not at the unit  
level. A package is either compiled completely sequentially, or  
completely in parallel (if none of the units depend on others, like  
with univint package).



Jonas
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-22 Thread Mark Morgan Lloyd

Jonas Maebe wrote:

On 22 Oct 2010, at 16:35, Michael Van Canneyt wrote:


On Fri, 22 Oct 2010, Jonas Maebe wrote:


The dependencies are specified in the Makefiles themselves.


But manually, if I'm correct ?


Yes.


But what happens if 2 units use each other ?


The dependencies are specified at the package level, not at the unit 
level. A package is either compiled completely sequentially, or 
completely in parallel (if none of the units depend on others, like with 
univint package).


Please note that I'm not complaining, merely reporting what I've seen. 
I've not checked yet to what extent the build will recover if restarted, 
I think I remember a Linux kernel build failing in some cases on large 
systems but sorting itself out if the make command was rerun.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-19 Thread Mark Morgan Lloyd

Marco van de Voort wrote:

Hello,

We have placed the first release-candidate of the Free Pascal Compiler
version 2.4.2 on our ftp-servers.

You can help improve the upcoming 2.4.2 release by downloading and
testing this release. If you want you can report what you have done here:
http://wiki.freepascal.org/Testers_2.4.2


I've not had time to do the tests by the book but I can report that 
RC1 builds using 2.4.0 on armel, PPC, SPARC and x86 (all Debian 
Lenny), and then can build itself.


It's able to build Lazarus on SPARC, I've not checked the other 
platforms yet.


The only niggle I've got is that when I tried to build using 2.2 it went 
part way through and then barfed because of an out parameter. Could 
the compiler version be checked right at the start of the build?


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] FPC 2.4.2 RC1 available

2010-10-12 Thread Marco van de Voort
Hello,

We have placed the first release-candidate of the Free Pascal Compiler
version 2.4.2 on our ftp-servers.

You can help improve the upcoming 2.4.2 release by downloading and
testing this release. If you want you can report what you have done here:
http://wiki.freepascal.org/Testers_2.4.2

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

Downloads are available at:

the main FTP server at

ftp://ftp.freepascal.org/pub/fpc/beta/2.4.2-rc1/

and

ftp://freepascal.stack.nl/pub/fpc/beta/2.4.2-rc1/

Enjoy!

The Free Pascal Compiler Team



Free Pascal Compiler

Version 2.4.2-RC1

**
  What's New in 2.4.2
**

Free Pascal 2.4.2 contains many fixes and a few new features. Most bugfixes
in the RTL and packages before june 2010 have been merged.

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

Some highlights are:

Compiler:
  * Support D2006+ FOR..IN, with some FPC specific enhancements. Refer to
 http://wiki.freepascal.org/for-in_loop for more information
  * Support for sealed and abstract classes.

Packages:
  * Many improvements to the XML units
  * Many improvements to the database units
  * Many improvemnets to the chm units

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


**
  What's New in 2.4.0
**

Free Pascal 2.4.0 contains many fixes and new features. While we did not
manage to incorporate all planned additions, we believe this release offers a
nice collection of new functionality and bug fixes.


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

Some highlights are:

Platforms:
  * New platform: Mac OS X/PowerPC64
  * New platform: Mac OS X/x86_64
  * New platform: Mac OS X/ARM (iPhone)

Compiler:
  * Support for Delphi-style resource handling
  * Whole-program optimization infrastructure, which initially supports
program devirtualization and unused virtual method removal
  * Much faster compilation of units containing many type-sections
  * The ability to suppress individual hints/warnings/notes
  * Several improvements to the DWARF debug information generation
  * Fixes to the generics support
  * Fixes to the interface delegation (implements) support
  * Improved cpu register allocation
  * Improved ARM/EABI support
  
RTL:
  * Linearly scaling multi-threaded memory manager
  * Support for (advisory) file locking on Unix-based platforms
when using the SysUtils file creation/opening routines
  * Support for ANSI ISO Extended Pascal ReadStr/WriteStr
  * A UnicodeString type that, while not yet equivalent to Delphi 2009's
UnicodeString type, offers reference counted UnicodeString support on
the Windows, Linux, Mac OS X, FreeBSD and Beos/Haiku platforms.

Packages:
  * Many improvements to the XML units
  * Many improvements to the database units
  * Updated the common Mac OS X Pascal interfaces to r241, including
header a translation of the CFNetwork framework
  * The zipper unit now works correctly on big endian platforms

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


**
  What's New in 2.2.3
**

Free Pascal 2.2.3 contains many bug fixes and some new features. The 
main purpose of this release is to fix problems reported with FPC 2.2.2.

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

Some highlights are:

All:
  * Experimental packages-installation tool

Packages:
  * Added support for TIFF reading/writing in fcl-image
  * Improvements and fixes in CHM support
  * Fixed linking the gtk2-package with gtk versions above 2.13.4

IDE:
  * Added support for CHM help files

Documentation

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


**
  What's New in 2.2.2

Re: [fpc-devel] FPC 2.4.2 RC1 available

2010-10-12 Thread Luiz Americo Pereira Camara

Marco van de Voort escreveu:

Hello,

We have placed the first release-candidate of the Free Pascal Compiler
version 2.4.2 on our ftp-servers.
  


It does not compile the following program

It works with both 240 and 251

Luiz


You can help improve the upcoming 2.4.2 release by downloading and
testing this release. If you want you can report what you have done here:
http://wiki.freepascal.org/Testers_2.4.2

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

Downloads are available at:

the main FTP server at

ftp://ftp.freepascal.org/pub/fpc/beta/2.4.2-rc1/

and

ftp://freepascal.stack.nl/pub/fpc/beta/2.4.2-rc1/

Enjoy!

The Free Pascal Compiler Team



Free Pascal Compiler

Version 2.4.2-RC1

**
  What's New in 2.4.2
**

Free Pascal 2.4.2 contains many fixes and a few new features. Most bugfixes
in the RTL and packages before june 2010 have been merged.

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

Some highlights are:

Compiler:
  * Support D2006+ FOR..IN, with some FPC specific enhancements. Refer to
 http://wiki.freepascal.org/for-in_loop for more information
  * Support for sealed and abstract classes.

Packages:
  * Many improvements to the XML units
  * Many improvements to the database units
  * Many improvemnets to the chm units

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


**
  What's New in 2.4.0
**

Free Pascal 2.4.0 contains many fixes and new features. While we did not
manage to incorporate all planned additions, we believe this release offers a
nice collection of new functionality and bug fixes.


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

Some highlights are:

Platforms:
  * New platform: Mac OS X/PowerPC64
  * New platform: Mac OS X/x86_64
  * New platform: Mac OS X/ARM (iPhone)

Compiler:
  * Support for Delphi-style resource handling
  * Whole-program optimization infrastructure, which initially supports
program devirtualization and unused virtual method removal
  * Much faster compilation of units containing many type-sections
  * The ability to suppress individual hints/warnings/notes
  * Several improvements to the DWARF debug information generation
  * Fixes to the generics support
  * Fixes to the interface delegation (implements) support
  * Improved cpu register allocation
  * Improved ARM/EABI support
  
RTL:

  * Linearly scaling multi-threaded memory manager
  * Support for (advisory) file locking on Unix-based platforms
when using the SysUtils file creation/opening routines
  * Support for ANSI ISO Extended Pascal ReadStr/WriteStr
  * A UnicodeString type that, while not yet equivalent to Delphi 2009's
UnicodeString type, offers reference counted UnicodeString support on
the Windows, Linux, Mac OS X, FreeBSD and Beos/Haiku platforms.

Packages:
  * Many improvements to the XML units
  * Many improvements to the database units
  * Updated the common Mac OS X Pascal interfaces to r241, including
header a translation of the CFNetwork framework
  * The zipper unit now works correctly on big endian platforms

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


**
  What's New in 2.2.3
**

Free Pascal 2.2.3 contains many bug fixes and some new features. The 
main purpose of this release is to fix problems reported with FPC 2.2.2.


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

Some highlights are:

All:
  * Experimental packages-installation tool

Packages:
  * Added support for TIFF reading/writing in fcl-image
  * Improvements and fixes in CHM support
  * Fixed linking the gtk2-package with gtk versions above 2.13.4

IDE:
  * Added support for CHM help files

Documentation

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