Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Michael Van Canneyt


On Tue, 17 Jun 2008, Lourival Mendes wrote:

> Dear all users,
> 
>I'm looking for an unity for calculus of some more complex
> functions in Pascal than those avaiable in the Delphi math.pas unity.
> For a more specific case I would like to calculate FFT and IFFT of
> some signal data. Does the FPC has some? Is it possible to use it in
> Delphi ? Does someone knows if there is the translation of numerical
> recipes from C to Pascal??

The numerical recipes exist in a pascal version. They should be compilable
with FPC without problems.

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


Re: [fpc-pascal] Installing 2.3.1

2008-06-18 Thread Vincent Snijders

Lee Jenkins schreef:


Hey, all is there a snapshot available for 2.3.1?  I tried downloading 
the fpbuild kit and go woefully lost :)




ftp://ftp.hu.freepascal.org/pub/fpc/snapshot/v23/i386-win32/fpc-2.3.1.i386-win32.zip

I'd like to upgrade, but not sure how get a good binary installation on 
my Win32 box.




If you want to use fpc 2.3.1 with Lazarus, I recommend to download it from
ftp://ftp.hu.freepascal.org/pub/lazarus/
Currently available snapshot: 
ftp://ftp.hu.freepascal.org/pub/lazarus/Lazarus-0.9.25-fpc-2.3.1-20080617-win32.exe


Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] [Core] Release FPC-2.2.2rc1 is available for download

2008-06-18 Thread Mazen NEIFER
After 9 months of active development and bug fixes, the Free Pascal core
team is proud to announce the availability of the first release
candidate of the expected 2.2.2 compiler.

Users who want to test this release candidate are encouraged to report
bugs and regressions they encounter as soon as possible in order to get
them in next release candidate planned for next month and the final
release possibly before end of August, 2008.

The release candidate packages are available for download in
ftp://ftp.freepascal.org/fpc/beta/2.2.2rc1

The new release contains many bug-fixes and some new features. The
main purpose of this release is to fix problems reported with FPC 2.2.0,
and to remove all potentially tainted code from our source code base.

Please also see http://wiki.freepascal.org/User_Changes_2.2.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:

All:
  *  All code potentially infringing on CodeGear copyrighted code has
been
 reimplemented using a cleanroom approach.

Platforms:
  * Incompatibilities with Mac OS X 10.5's new default linker have been
resolved.

Compiler:
  * PIC support for Mac OS X (on by default, disable with -Cg-)
  * several bugs in the experimental generics support have been fixed,
but this feature is still in beta
  * initialisation and finalisation of shared libraries has been fixed
for all Darwin platforms, and for Linux/i386
  * support for {$packset x} directive to enable set packing
(use {$packset 1} for Delphi-compatible sets, but note that the
 format is different on little and big endian platforms)

RTL:
  * thread resource leaking under unix has been fixed
  * the widestring manager for unix has been completed
  * several floating point to string conversion errors have been fixed
  * significantly improved variant support
  * implementation of RTL exception handler for OS/2 allowing proper
translation of some runtime errors
  * various fixes for GO32v2 improving useability of this target
  * OS/2 RTL enhanced to allow seamless working with large files (64-bit
file system API calls) where available (WSeB/MCP/eCS/Warp 4 with
FP15)

Packages:
  * the Windows API interface units have been significantly updated
  * Apple universal interfaces updated to r234 of the common FPC/GPC/MW
interfaces

Documentation
  *  Documentation was updated completely to conform to the actual
 state of the compiler and RTL.

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

FPC Core Team,

Mazen,



signature.asc
Description: Ceci est une partie de message	numériquement signée
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Problem with threads and cwstrings

2008-06-18 Thread Jonas Maebe


On 18 Jun 2008, at 07:50, Alexander Bauer wrote:


i have a problem when i use cwstrings together with threads on linux.

I made a simple program which create threads in an endless loop.
Every thread only does a sleep(1) and then finish.

Without 'cwstrings' everything works fine.
But when i include 'cwstrings' the program eats more and more memory.

What is the problem ?


Please submit a bug report.


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


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Jonas Maebe


On 13 Jun 2008, at 09:41, Graeme Geldenhuys wrote:


#1
FBLib uses the standard LGPL. We link that software directly into our
executables. We don't use it as an external (dynamically linked)
.so/.dll library.  FBLib is pretty much a wrapper for the Firebird
libfbclient.so library.  If this poses an issue, it should be fairly
easy for us to switch to a different library like sqldb included with
FPC.


If it's plain LGPL and you link it statically, then you have to supply  
all object files of the rest of your program to your customers (when  
they ask for it; and you have to inform them of this right they have,  
by including a copy of the LGPL with your software and referring to it  
in your licence agreement), so they can relink your application with a  
newer version of that library should they wish to do so.



#2
I know MPL is not GPL compatible, but we are not creating GPL'ed
software. We are creating software used in-house for our franchisees.
We do not sell our software either. So would this be a concern for us?


The GPL and (L)GPL only talk about distributing software. Whether you  
sell it, give it away for free, rent it out or ask for a postcard in  
exchange is irrelevant.



I'm part of the core developers for tiOPF and am pretty sure that if
we need to change tiOPF's license to a Modified LGPL or dual license
it, it should be possible. Again, we link tiOPF directly into our
executable. Does this pose any issues for us?


MPL is not (modified) LGPL compatible either, so you need a dual  
license.



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


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Marco van de Voort
> > I'm part of the core developers for tiOPF and am pretty sure that if
> > we need to change tiOPF's license to a Modified LGPL or dual license
> > it, it should be possible. Again, we link tiOPF directly into our
> > executable. Does this pose any issues for us?
> 
> MPL is not (modified) LGPL compatible either, so you need a dual  
> license.

Hmm. Where did you get that? Do you btw understand the nature of the
MPL<->(L)GPL incompability?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Jonas Maebe


On 18 Jun 2008, at 10:33, Marco van de Voort wrote:


I'm part of the core developers for tiOPF and am pretty sure that if
we need to change tiOPF's license to a Modified LGPL or dual license
it, it should be possible. Again, we link tiOPF directly into our
executable. Does this pose any issues for us?


MPL is not (modified) LGPL compatible either, so you need a dual
license.


Hmm. Where did you get that? Do you btw understand the nature of the
MPL<->(L)GPL incompability?


Here's an explanation: http://www.tomhull.com/ocston/docs/mozgpl.html

(Most of) the arguments there apply equally to the LGPL as they do to  
the GPL. Mozilla.org also explains this: http://www.mozilla.org/MPL/relicensing-faq.html#why-relicensing



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


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Lourival Mendes
But is it free avaiable? Or only in the book??



2008/6/18, Michael Van Canneyt <[EMAIL PROTECTED]>:
>
>
> On Tue, 17 Jun 2008, Lourival Mendes wrote:
>
> > Dear all users,
> >
> >I'm looking for an unity for calculus of some more complex
> > functions in Pascal than those avaiable in the Delphi math.pas unity.
> > For a more specific case I would like to calculate FFT and IFFT of
> > some signal data. Does the FPC has some? Is it possible to use it in
> > Delphi ? Does someone knows if there is the translation of numerical
> > recipes from C to Pascal??
>
> The numerical recipes exist in a pascal version. They should be compilable
> with FPC without problems.
>
> Michael.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>


-- 
Lourival J. Mendes Neto
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Michael Van Canneyt


On Wed, 18 Jun 2008, Lourival Mendes wrote:

> But is it free avaiable? Or only in the book??

I have the sources. 
If you have a license for the C version, then I can try to send them to you.

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


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Mark Morgan Lloyd

Mattias Gaertner wrote:

I would like to create a shot overview of the code quality of
FPC. Please help to complete the list:

Under i386 code size and speed is similar to Delphi and gcc (except
for some synthetic benchmarks).

Under x86_64 pentium code size and speed is similar to gcc (exc...).

Under x86_64 amd code size and speed is similar to D and not that far
away from gcc (exc...).

Under arm code size and speed is similar to  ? (exc...).

Under powerpc code size and speed is similar to  ? (exc...).

Under sparc code size and speed is similar to  ? (exc...).


I'm running i386 and SPARC, but in general am not being particularly 
thorough in removing symbols etc.


Do you have a specific test project to use as a benchmark, i.e. that I 
can compile and report it takes X bytes on disc and ps/top reports Y/Z 
about it?


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

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


[fpc-pascal] Release FPC-2.2.2rc1 is available for download

2008-06-18 Thread Vincent Snijders

Mazen NEIFER schreef:

After 9 months of active development and bug fixes, the Free Pascal core
team is proud to announce the availability of the first release
candidate of the expected 2.2.2 compiler.

Users who want to test this release candidate are encouraged to report
bugs and regressions they encounter as soon as possible in order to get
them in next release candidate planned for next month and the final
release possibly before end of August, 2008.

The release candidate packages are available for download in
ftp://ftp.freepascal.org/fpc/beta/2.2.2rc1



People who want to test with Lazarus can download several Lazarus 
snapshot with fpc 2.2.2rc1 from http://www.hu.freepascal.org/lazarus/



Vincent
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Lourival Mendes
Unfortunately I don't have the license for C version or anyone.

Is there any other source?? I would like to create or have a Math.pas
unity complete for scientific reasons...



2008/6/18, Michael Van Canneyt <[EMAIL PROTECTED]>:
>
>
> On Wed, 18 Jun 2008, Lourival Mendes wrote:
>
> > But is it free avaiable? Or only in the book??
>
> I have the sources.
> If you have a license for the C version, then I can try to send them to you.
>
> Michael.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>


-- 
Lourival J. Mendes Neto
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Michael Van Canneyt


On Wed, 18 Jun 2008, Lourival Mendes wrote:

> Unfortunately I don't have the license for C version or anyone.
> 
> Is there any other source?? I would like to create or have a Math.pas
> unity complete for scientific reasons...

Maybe Jedi-math has what you need ?

Michael.

> 
> 
> 
> 2008/6/18, Michael Van Canneyt <[EMAIL PROTECTED]>:
> >
> >
> > On Wed, 18 Jun 2008, Lourival Mendes wrote:
> >
> > > But is it free avaiable? Or only in the book??
> >
> > I have the sources.
> > If you have a license for the C version, then I can try to send them to you.
> >
> > Michael.
> > ___
> > fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> > http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> >
> 
> 
> -- 
> Lourival J. Mendes Neto
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Graeme Geldenhuys
2008/6/18 Jonas Maebe <[EMAIL PROTECTED]>:
>
> If it's plain LGPL and you link it statically, then you have to supply all
> object files of the rest of your program to your customers (when they ask
> for it; and you have to inform them of this right they have, by including a
> copy of the LGPL with your software and referring to it in your licence
> agreement), so they can relink your application with a newer version of that
> library should they wish to do so.
>
>
> The GPL and (L)GPL only talk about distributing software. Whether you sell
> it, give it away for free, rent it out or ask for a postcard in exchange is
> irrelevant.
>
>
> MPL is not (modified) LGPL compatible either, so you need a dual license.


Thanks Jonas for you reply... We sent emails to the relevant authors
of the libraries we use to rectify any licensing issues.

Just a minor question regarding the Modified LGPL license used by FPC
and Lazarus.

Below I quoted the Modified LGPL...

"As a special exception, the copyright holders of this library give
you permission to link this library with independent modules to
produce an executable, regardless of the license terms of these
independent modules, and to copy and distribute the resulting
executable under terms of your choice, provided that you also meet,
for each linked independent module, the terms and conditions of the
license of that module. An independent module is a module which is not
derived from or based on this library."

This part I understand and relates to static linking...


" If you modify this library, you may extend this exception to your
version of the library, but you are not obligated to do so. If you do
not wish to do so, delete this
exception statement from your version."

This part I don't quite understand... Could somebody explain this please?



Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Jonas Maebe


On 18 Jun 2008, at 14:59, Graeme Geldenhuys wrote:


Below I quoted the Modified LGPL...

"As a special exception, the copyright holders of this library give
you permission to link this library with independent modules to
produce an executable, regardless of the license terms of these
independent modules, and to copy and distribute the resulting
executable under terms of your choice, provided that you also meet,
for each linked independent module, the terms and conditions of the
license of that module. An independent module is a module which is not
derived from or based on this library."

This part I understand and relates to static linking...


" If you modify this library, you may extend this exception to your
version of the library, but you are not obligated to do so. If you do
not wish to do so, delete this
exception statement from your version."

This part I don't quite understand... Could somebody explain this  
please?


It means that you are free to relicense a file back to the regular  
LGPL if it was originally distributed under our modified LGPL.



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


Re: [fpc-pascal] code speed and size on various platforms

2008-06-18 Thread Marco van de Voort
> On Wed, 18 Jun 2008, Lourival Mendes wrote:
> > 
> > Is there any other source?? I would like to create or have a Math.pas
> > unity complete for scientific reasons...
> 
> Maybe Jedi-math has what you need ?

And there is also numlib, though docs are lacking.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Graeme Geldenhuys
2008/6/18 Jonas Maebe <[EMAIL PROTECTED]>:
>
> It means that you are free to relicense a file back to the regular LGPL if
> it was originally distributed under our modified LGPL.


Only back to the regular LGPL, or to any other license of choice?
I presume only to the regular LGPL, otherwise it will be like having
no license at all (or a BSD style license).


Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Jonas Maebe


On 18 Jun 2008, at 15:36, Graeme Geldenhuys wrote:


2008/6/18 Jonas Maebe <[EMAIL PROTECTED]>:


It means that you are free to relicense a file back to the regular  
LGPL if

it was originally distributed under our modified LGPL.


Only back to the regular LGPL, or to any other license of choice?
I presume only to the regular LGPL,


That's what I said, no?

It simply says that you can again remove the static linking exception  
that we added to the LGPL.



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


Re: [fpc-pascal] MPL, LGPL rehashed again

2008-06-18 Thread Graeme Geldenhuys
2008/6/18 Jonas Maebe <[EMAIL PROTECTED]>:
>
> It simply says that you can again remove the static linking exception that
> we added to the LGPL.


Perfect!  Thank you very much for your time...


Regards,
 - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal