Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2009-01

Freepascal 2.2.4rc1 released

11 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joost van der Sluis

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

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

With this release we also want to test our new packaging-system. After installing the package manager (fppkg) can be called from the command-line. For now only the 'lnet' package is available for installation through the package system. When all goes well it could be that more packages will be added.

For more information about fppkg:
http://wiki.freepascal.org/fppkg

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

Downloads are available at:
ftp://ftp.freepascal.org/pub/fpc/beta/2.2.4rc1/

Enjoy!

The Free Pascal Compiler Team

Free Pascal Compiler

Version 2.2.4rc1

****************************************************************************** What's New in 2.2.4rc1
******************************************************************************

Free Pascal 2.2.4rc1 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.

Boris Samorodov
to Joost van der Sluis
Joost van der Sluis wrote
We have placed the first release-candidate of the Free Pascal Compiler version 2.2.4 on our ftp-servers.

At the system:
-----
host% uname -a
FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 -----

I get some warnings:
-----
...
gmake[5]: Entering directory `/work/a/ports/lang/fpc/work/fpc-2.2.4rc1/rtl/freebsd'
/bin/mkdir -p ../../rtl/units/i386-freebsd
as -o ../../rtl/units/i386-freebsd/prt0.o i386/prt0.as
as -o ../../rtl/units/i386-freebsd/cprt0.o i386/cprt0.as
as -o ../../rtl/units/i386-freebsd/gprt0.o i386/gprt0.as
/work/a/ports/lang/fpc/work/fpc-2.2.4rc1.bin/lib/fpc/2.2.4rc1/ppc386 -dNOMOUSE -Fl/usr/lib -Fi../inc -Fi../i386 -Fi../unix -Fi../bsd -Fi../bsd/i386 -Fi../freebsd/i386 -FE. -FU../../rtl/units/i386-freebsd -CX -di386 -Us -Sg ../bsd/system.pp
objpas.inc(609,43) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
objpas.inc(620,52) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
objpas.inc(687,12) Warning: "formal parameter" not yet supported inside inline procedure/function
objpas.inc(687,12) Warning: Inlining disabled
thread.inc(313,10) Warning: Function result does not seem to be set
thread.inc(325,11) Warning: Function result does not seem to be set
thread.inc(335,11) Warning: Function result does not seem to be set
thread.inc(340,11) Warning: Function result does not seem to be set
thread.inc(345,11) Warning: Function result does not seem to be set
thread.inc(374,10) Warning: Function result does not seem to be set
thread.inc(393,11) Warning: Function result does not seem to be set
thread.inc(417,11) Warning: Function result does not seem to be set
thread.inc(423,11) Warning: Function result does not seem to be set
thread.inc(464,10) Warning: Function result does not seem to be set
...
-----

Is that OK? Thanks!

WBR

Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Jonas Maebe
to Boris Samorodov
Boris Samorodov wrote 15 lines
Joost van der Sluis writes: > We have placed the first release-candidate of the Free Pascal > Compiler > version 2.2.4 on our ftp-servers. At the system: ----- host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 ----- I get some warnings: -----

[snip]

----- Is that OK?

Yes.

Jonas

Marco van de Voort
to Boris Samorodov: At the system: ----- host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT…

In our previous episode, Boris Samorodov said:

Show quoted text 5 lines
At the system: ----- host% uname -a FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 -----

(

note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl

The generated binaries are then COMPAT7 free, if nothing broke. )

Boris Samorodov
to Marco van de Voort
Show quoted text 12 lines
In our previous episode, Boris Samorodov said: > At the system: > ----- > host% uname -a > FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 > ----- ( note: if you want to generate native 8.0 binaries, you need the cprt0.as and the identpatch.sh script from the sources, assemble and copy the cprt0.o file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl

I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building.

The generated binaries are then COMPAT7 free, if nothing broke. )

WBR

Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
Marco van de Voort
to Boris Samorodov

In our previous episode, Boris Samorodov said:

Show quoted text 13 lines
>> At the system: >> ----- >> host% uname -a >> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 >> ----- > > ( > note: if you want to generate native 8.0 binaries, you need the cprt0.as > and the identpatch.sh script from the sources, assemble and copy the cprt0.o > file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl I'll try to do it, thanks! That may be a right thing for FreeBSD port/package building.

Talk to ACM, we recently discussed some more minor details with FPC packaging, like passing the FreeBSD major version to the compiler via make, to allow version dependant code in FPC's main libs.

Boris Samorodov
to Marco van de Voort
Show quoted text 18 lines
In our previous episode, Boris Samorodov said: > >> At the system: > >> ----- > >> host% uname -a > >> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 > >> ----- > > > > ( > > note: if you want to generate native 8.0 binaries, you need the cprt0.as > > and the identpatch.sh script from the sources, assemble and copy the cprt0.o > > file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl > > I'll try to do it, thanks! That may be a right thing for FreeBSD > port/package building. Talk to ACM, we recently discussed some more minor details with FPC packaging, like passing the FreeBSD major version to the compiler via make, to allow version dependant code in FPC's main libs.

Good to know, thanks!

WBR

Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
KES
to Boris Samorodov

Здравствуйте, Boris.

Вы писали 29 января 2009 г., 18:48:35:

BS> wrote 18 lines
> In our previous episode, Boris Samorodov said: >> >> At the system: >> >> ----- >> >> host% uname -a >> >> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan 26 17:17:58 MSK 2009 i386 >> >> ----- >> > >> > ( >> > note: if you want to generate native 8.0 binaries, you need the cprt0.as >> > and the identpatch.sh script from the sources, assemble and copy the cprt0.o >> > file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/rtl >> >> I'll try to do it, thanks! That may be a right thing for FreeBSD >> port/package building. > > Talk to ACM, we recently discussed some more minor details with FPC > packaging, like passing the FreeBSD major version to the compiler via make, > to allow version dependant code in FPC's main libs.

BS> Good to know, thanks!

It that possible now to build .so with FPC and use it in C program on FreeBSD platform?

FPC v2.2.2 cannot build dynamic libraries on FreeBSD at this time (well, at least none that work properly with C programs). Only the FreeBSD port is broken in that respect as far as I know.

С уважением, KES
Jonas Maebe
to KES
KES wrote 49 lines
Здравствуйте, Boris. Вы писали 29 января 2009 г., 18:48:35: BS> (Marco van de Voort) writes: >> In our previous episode, Boris Samorodov said: >>>>> At the system: >>>>> ----- >>>>> host% uname -a >>>>> FreeBSD host.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jan >>>>> 26 17:17:58 MSK 2009 >>>>> HOST i386 >>>>> ----- >>>> >>>> ( >>>> note: if you want to generate native 8.0 binaries, you need the >>>> cprt0.as >>>> and the identpatch.sh script from the sources, assemble and copy >>>> the cprt0.o >>>> file over the one in $PREFIX/fpc/$FPCVERSION/units/i386-freebsd/ >>>> rtl >>> >>> I'll try to do it, thanks! That may be a right thing for FreeBSD >>> port/package building. >> >> Talk to ACM, we recently discussed some more minor details with FPC >> packaging, like passing the FreeBSD major version to the compiler >> via make, >> to allow version dependant code in FPC's main libs. BS> Good to know, thanks! It that possible now to build .so with FPC and use it in C program on FreeBSD platform? FPC v2.2.2 cannot build dynamic libraries on FreeBSD at this time (well, at least none that work properly with C programs). Only the FreeBSD port is broken in that respect as far as I know. -- С уважением, KES _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal
KES
to Jonas Maebe

Здравствуйте, Jonas.

Вы писали 29 января 2009 г., 19:19:44:

KES wrote 7 lines
> >>>>> >>>> >>> > It that possible now to build .so with FPC and use it in C program > on FreeBSD > platform?

JM> No, this bug was not fixed in 2.2.4 (it's not even fixed yet in 2.3.1)

Is there milstone for this bug?

С уважением, KES