[fpc-pascal]FPC Version 1.9.4 released.

2004-06-02 Thread Michael Van Canneyt
Hello,

The FPC team is pleased to announce that version 1.9.4 has been
uploaded on the web. Version 1.9.4 is a pre-release of the upcoming
version 2.0. However, the FPC team believes that the quality is
sufficient for production work: version 1.9.4 scores significantly
better in the testsuite than the official 1.0.10 version.

Versions have been uploaded for the following platforms:
- BSD (FreeBSD)
- Linux (Intel,PowerPC hardware)
- Win32
- Mac OS X (PowerPC hardware)
Versions for other supported platforms may follow, depending
on available time/enthousiasm.

The new release can be downloaded from our website:
http://www.freepascal.org/sdown.html
Please select a mirror near you, as bandwidth is limited.

The FPC Wiki contains a page which shows what is in store for the
upcoming 2.0 release:
http://www.freepascal.org/wiki/wiki.phtml?title=Road_to_2.0

The list of changes in this 1.9.4 release is appended to this mail.
The complete list of changes since version 1.0.10 can be found in the
whatsnew.txt file in the distribution.

Enjoy !

The FPC team.

**
  Whats New in 1.9.4 aka 2.0.0-Beta3
**

Compiler:
  + ARM (Linux) compiler
  + PowerPC Darwin (Mac OS X) support
  + reintroduce keyword support
  + added prefetch(const mem) support
  + MacPas compile mode
  + -gv to generate an executable that can be run under Valgrind >= 2.1
  * register allocator fixes and tweaks
  * better support for preprocessor $IF expressions
  * better overloaded operator support
  * Win32 DLL export table fixes
  * stabs (debuginfo) generation cleanups
  * enum names in RTTI are now in their original case
  * record alignment fixes
  * lots of bug fixes

RTL:
  + ARM Linux support
  + PowerPC Darwin support
  + Sysutils.RaiseLastOSError added
  + Sysutils.GetLastOSError added
  + Classes.TOwnedCollection added
  + Sysutils.FileIsReadOnly added
  + support of widestring and currency in the typinfo unit
  * Better support for Libc based RTL (FPC_USE_LIBC)
  * 64bit cleanup for future x86_64 port
  * ExecuteProcess fixes
  * Linux use getdents syscall instead of deprecated readdir
  * bug fixes

FCL:
  + SDF DB backend
  + TGA support in fpImage
  + support of widestring and currency type in stream related classes
  * Lot of fixes to fpImage classes

Misc:
  * better cross development support
  * Documentation updates
  * Testsuite updates to store testrun results in a database
  * Testsuite updates for cross platform testing, with remote rsh/ssh support

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]FPC Version 1.9.4 released.

2004-06-02 Thread IoDream
Hi,

May I assume MultiThreading issues are gone.

And PIC (Position Independant Code) generation is working too ? It was the
biggest hurdle to generate dynamic libraries on Linux (*.so file), if I
remember correctly.

Best Regards,
^IoDream^


Michael Van Canneyt wrote:
> Hello,
>
> The FPC team is pleased to announce that version 1.9.4 has been
> uploaded on the web. Version 1.9.4 is a pre-release of the upcoming
> version 2.0. However, the FPC team believes that the quality is
> sufficient for production work: version 1.9.4 scores significantly
> better in the testsuite than the official 1.0.10 version.
>
> Versions have been uploaded for the following platforms:
> - BSD (FreeBSD)
> - Linux (Intel,PowerPC hardware)
> - Win32
> - Mac OS X (PowerPC hardware)
> Versions for other supported platforms may follow, depending
> on available time/enthousiasm.
>
> The new release can be downloaded from our website:
> http://www.freepascal.org/sdown.html
> Please select a mirror near you, as bandwidth is limited.
>
> The FPC Wiki contains a page which shows what is in store for the
> upcoming 2.0 release:
> http://www.freepascal.org/wiki/wiki.phtml?title=Road_to_2.0
>
> The list of changes in this 1.9.4 release is appended to this mail.
> The complete list of changes since version 1.0.10 can be found in the
> whatsnew.txt file in the distribution.
>
> Enjoy !
>
> The FPC team.
>
>

**
>   Whats New in 1.9.4 aka 2.0.0-Beta3
>

**
>
> Compiler:
>   + ARM (Linux) compiler
>   + PowerPC Darwin (Mac OS X) support
>   + reintroduce keyword support
>   + added prefetch(const mem) support
>   + MacPas compile mode
>   + -gv to generate an executable that can be run under Valgrind >=
>   2.1 * register allocator fixes and tweaks
>   * better support for preprocessor $IF expressions
>   * better overloaded operator support
>   * Win32 DLL export table fixes
>   * stabs (debuginfo) generation cleanups
>   * enum names in RTTI are now in their original case
>   * record alignment fixes
>   * lots of bug fixes
>
> RTL:
>   + ARM Linux support
>   + PowerPC Darwin support
>   + Sysutils.RaiseLastOSError added
>   + Sysutils.GetLastOSError added
>   + Classes.TOwnedCollection added
>   + Sysutils.FileIsReadOnly added
>   + support of widestring and currency in the typinfo unit
>   * Better support for Libc based RTL (FPC_USE_LIBC)
>   * 64bit cleanup for future x86_64 port
>   * ExecuteProcess fixes
>   * Linux use getdents syscall instead of deprecated readdir
>   * bug fixes
>
> FCL:
>   + SDF DB backend
>   + TGA support in fpImage
>   + support of widestring and currency type in stream related classes
>   * Lot of fixes to fpImage classes
>
> Misc:
>   * better cross development support
>   * Documentation updates
>   * Testsuite updates to store testrun results in a database
>   * Testsuite updates for cross platform testing, with remote rsh/ssh
> support
>
> ___
> fpc-pascal maillist  -  [EMAIL PROTECTED]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> _
> Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de
> France


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]FPC Version 1.9.4 released.

2004-06-02 Thread Michael Van Canneyt


On Wed, 2 Jun 2004, IoDream wrote:

> Hi,
>
> May I assume MultiThreading issues are gone.

Multithreading is implemented.

>
> And PIC (Position Independant Code) generation is working too ?

No. See the roadmap: scheduled for 1.9.6

> It was the
> biggest hurdle to generate dynamic libraries on Linux (*.so file), if I
> remember correctly.

A .so can already be generated without PIC.

Michael.

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]FPC Version 1.9.4 released.

2004-06-02 Thread James Mills
On Wed, Jun 02, 2004 at 03:40:38PM +0200, Michael Van Canneyt wrote:
> > And PIC (Position Independant Code) generation is working too ?
> 
> No. See the roadmap: scheduled for 1.9.6

Excuse me ignorance. I don't beleive I know what PIC is... What is PIC ?

cheers
James

-- 
-ShortCircuit Services
-WIKI: http://wiki.shortcircuit.net.au
-IRC: http://wiki.shortcircuit.net.au/IRC/
-IRC: (/server shortcircuit.net.au)
-
-"Problems are Solved by Method"
-
-Team123 - We deliver
-URL: http://team123.shortcircuit.net.au

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal]Mac OS X - Graph unit?

2004-06-02 Thread Jeff Weeks
Does FPC support the graph unit on OSX?  How do I get programs to 
compile?

Thanks!
Jeff
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Mac OS X - Graph unit?

2004-06-02 Thread Jonas Maebe
On 2 jun 2004, at 22:57, Jeff Weeks wrote:
Does FPC support the graph unit on OSX?
No, not yet. A graph unit for Mac OS X will probably be built on top of 
SDL.

Jonas
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Jeff Weeks
The other platform I can use is Red Hat Linux 7.1
The following happened while compiling the maze example application.  
Do I need to compile this from a graphical terminal?  I was using SSH.  
Or am I missing something?

Thanks!
Jeff
[EMAIL PROTECTED] pascal]# fpc maze.pp
Free Pascal Compiler version 1.0.10 [2003/06/26] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling maze.pp
Assembling makemaze
Linking maze
/usr/bin/ld: cannot find -lvga
maze.pp(508) Error: Error while linking
Closing script ppas.sh

On Jun 2, 2004, at 11:02 AM, Jonas Maebe wrote:
On 2 jun 2004, at 22:57, Jeff Weeks wrote:
Does FPC support the graph unit on OSX?
No, not yet. A graph unit for Mac OS X will probably be built on top 
of SDL.

Jonas
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Jonas Maebe
On 2 jun 2004, at 23:22, Jeff Weeks wrote:
The other platform I can use is Red Hat Linux 7.1
The following happened while compiling the maze example application.  
Do I need to compile this from a graphical terminal?  I was using SSH. 
 Or am I missing something?
http://www.freepascal.org/faq.html#vgamissing
Jonas
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Olaf Leidinger
Hello!

> The following happened while compiling the maze example application.  
> Do I need to compile this from a graphical terminal?  I was using SSH.  
This is no problem at all. But you must run it on a local machine in a
terminal (not from X)

> Or am I missing something?
Yes, you need libsvga (package name maybe svgalib) installed.

> /usr/bin/ld: cannot find -lvga
> maze.pp(508) Error: Error while linking

Ciao,

Olaf


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Jeff Weeks
Thank you guys!  You're very helpful!
I downloaded the rpm and typed:
#rpm -i svgalib-1.4.1-2.src.rpm
I don't think this is how this type of RPM gets installed it's a 
"source" RPM I take it?

It didn't give any errors but didn't fix my compile problem, either.
Sorry for asking a Linux question but is there a right way to get 
the graphics library installed?

Thanks, again.
Jeff
ps.  BTW, we're eventually converting a DOS-based Turbo Pascal program. 
 This program is used by scientists all over the world.  They will LOVE 
to upgrade to Linux!

On Jun 2, 2004, at 11:31 AM, Olaf Leidinger wrote:
Hello!
The following happened while compiling the maze example application.
Do I need to compile this from a graphical terminal?  I was using SSH.
This is no problem at all. But you must run it on a local machine in a
terminal (not from X)
Or am I missing something?
Yes, you need libsvga (package name maybe svgalib) installed.
/usr/bin/ld: cannot find -lvga
maze.pp(508) Error: Error while linking
Ciao,
Olaf
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Marco van de Voort
> I downloaded the rpm and typed:
> 
> #rpm -i svgalib-1.4.1-2.src.rpm
> 
> I don't think this is how this type of RPM gets installed it's a 
> "source" RPM I take it?

No. source rpm usually have srpm as extension.
 
> It didn't give any errors but didn't fix my compile problem, either.

Then it only installed the lib, but didn't do some postconfiguration step.

Try finding the lib(s)vga.so.x.y library, and create a symlink to it called
libvga.so

> Sorry for asking a Linux question but is there a right way to get 
> the graphics library installed?

It is very distribution (and package) dependant.

However, the bottom line is 

1) that if FPC says: "can't find -lxxx" then you are missing a libxxx.so file.
Usually that means you have to install the corresponding package
2) A corresponding package sometimes doesn't install libxxx.so, for various
reasons (see below), you can correct this by creating a symlink with
ln -s libthenamethatwasinthepackage.so.123.5235  libnameitshouldbe.so


The reason for (2) is because 

- you might want to install multiple versions of this package, and if all
would call the main lib "libxxx.so" this would cause conflicts. This is 
solved by appending the .x.y.z versioning to the libxxx.so file
- Some libraries have multiple names. e.g. a lot distributions/OSes call
  "libsvga" libvga, and some call "ncurses" curses, all for historical 
   reasons.


___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit?

2004-06-02 Thread Michael . VanCanneyt


On Wed, 2 Jun 2004, Jeff Weeks wrote:

> Thank you guys!  You're very helpful!
> 
> I downloaded the rpm and typed:
> 
> #rpm -i svgalib-1.4.1-2.src.rpm
> 
> I don't think this is how this type of RPM gets installed it's a 
> "source" RPM I take it?
> 
> It didn't give any errors but didn't fix my compile problem, either.
> 
> Sorry for asking a Linux question but is there a right way to get 
> the graphics library installed?

This is already 1 step. The second step is installing the svgalib-devel
package. Alternatively, install a symbolic link to it:

cd /usr/lib 
ln -s libvga.so.x.y.z libvga.so

replace x.y.z with the actual version number.

Michael.

> 
> Thanks, again.
> 
> Jeff
> 
> ps.  BTW, we're eventually converting a DOS-based Turbo Pascal program. 
>   This program is used by scientists all over the world.  They will LOVE 
> to upgrade to Linux!
> 
> On Jun 2, 2004, at 11:31 AM, Olaf Leidinger wrote:
> 
> > Hello!
> >
> >> The following happened while compiling the maze example application.
> >> Do I need to compile this from a graphical terminal?  I was using SSH.
> > This is no problem at all. But you must run it on a local machine in a
> > terminal (not from X)
> >
> >> Or am I missing something?
> > Yes, you need libsvga (package name maybe svgalib) installed.
> >
> >> /usr/bin/ld: cannot find -lvga
> >> maze.pp(508) Error: Error while linking
> >
> > Ciao,
> >
> > Olaf
> >
> >
> > ___
> > fpc-pascal maillist  -  [EMAIL PROTECTED]
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
> 
> ___
> fpc-pascal maillist  -  [EMAIL PROTECTED]
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal]Unit Linux under Win32?

2004-06-02 Thread Ivan Stamenkovic
Hello,

I have tried to compile an example from 'Free Pascal supplied units:
Ref. Guide', Chapter 18 - The Sockets Unit, Program Client, but failed
to compile. This example uses Linux unit, but both a command line
compiler and IDE do not compile that unit. I have tried to Build from
IDE, ppc386 -B, and Make All from the \pp\source directory, but none
of it has worked.

Is it possible to use that unit? If FPC tended to be
platform-independent, it would be possible, but I don't know what's
the matter. :(

Windows 98, FPC is 1.0.4 (archive name dosw32104full.zip), it's a bit
old, but?

Thanks,
Ivan




___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Linux - Graph unit? SUCCESS!

2004-06-02 Thread Jeff Weeks
Thanks, everyone.  I had to download the source... couldn't get the 
RPMs to work.  But after compiling I followed your link instructions 
and voila...

Thanks, again.  Success feels good.   8^)
Jeff
On Jun 2, 2004, at 12:54 PM, [EMAIL PROTECTED] wrote:

On Wed, 2 Jun 2004, Jeff Weeks wrote:
Thank you guys!  You're very helpful!
I downloaded the rpm and typed:
#rpm -i svgalib-1.4.1-2.src.rpm
I don't think this is how this type of RPM gets installed it's a
"source" RPM I take it?
It didn't give any errors but didn't fix my compile problem, either.
Sorry for asking a Linux question but is there a right way to get
the graphics library installed?
This is already 1 step. The second step is installing the svgalib-devel
package. Alternatively, install a symbolic link to it:
cd /usr/lib
ln -s libvga.so.x.y.z libvga.so
replace x.y.z with the actual version number.
Michael.
Thanks, again.
Jeff
ps.  BTW, we're eventually converting a DOS-based Turbo Pascal 
program.
  This program is used by scientists all over the world.  They will 
LOVE
to upgrade to Linux!

On Jun 2, 2004, at 11:31 AM, Olaf Leidinger wrote:
Hello!
The following happened while compiling the maze example application.
Do I need to compile this from a graphical terminal?  I was using 
SSH.
This is no problem at all. But you must run it on a local machine in 
a
terminal (not from X)

Or am I missing something?
Yes, you need libsvga (package name maybe svgalib) installed.
/usr/bin/ld: cannot find -lvga
maze.pp(508) Error: Error while linking
Ciao,
Olaf
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

___
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal