Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread Mattias Gaertner
On Mon, 27 Feb 2012 06:18:59 +0100
Hans-Peter Diettrich drdiettri...@aol.com wrote:

 John Repucci schrieb:
  I'm attempting to use thashset from the fcl-stl unit.
  
  It appears that fcl-stl is not compiled with the fpc that comes with 
  Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32. 

2.6.1 does not install them.
2.7.1 does. At least under Linux and OS X.

I don't know why 2.6.1 does not install them. Maybe they were not
stable. You could ask on the fpc list.


  While fcl-stl is in the source, it is not found in the units directory 
  tree.  (this is also true of fpc-2.7.1.i386-win32 that I downloaded 
  yesterday).

Please create a bug report for fpc.

 
 I have ghashset.ppu and .o in fcl-stl/units/i386-win32.

That's only the precompiled version.
He was asking about the installed version of the ppu file.

 
  Any suggestions how I might get a version of fpc that includes fcl-stl?
 
 IMO it's a Lazarus only problem. 

No. What fpc installs and what no is entirely up to the FPC team.


 The Lazarus *fcl package* includes only *very* few fcl units.

Yes, only those that register design time items in Lazarus.


 Try to add the required unit(s) directly to your 
 project, and accept adding the recommended unit search path. You 
 probably can remove the unit reference afterwards, when the added path 
 is sufficient (untested). 

It would be better to fix this in the fpc packages.


 A proper solution should add all FCL units to 
 the Lazarus fcl package, though.

No.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread Alexander Shishkin

27.02.2012 12:19, Mattias Gaertner пишет:

On Mon, 27 Feb 2012 06:18:59 +0100
Hans-Peter Diettrichdrdiettri...@aol.com  wrote:


John Repucci schrieb:

I'm attempting to use thashset from the fcl-stl unit.

It appears that fcl-stl is not compiled with the fpc that comes with
Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32.


2.6.1 does not install them.
2.7.1 does. At least under Linux and OS X.

I don't know why 2.6.1 does not install them. Maybe they were not
stable. You could ask on the fpc list.




A bug, #19916, fixed in 2.7.1


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread John Repucci

 Date: Mon, 27 Feb 2012 13:20:02 +0400
 From: Alexander Shishkin alexv...@mail.ru
 Subject: Re: [Lazarus] fcl-stl / thashset question
 To: lazarus@lists.lazarus.freepascal.org
 Message-ID: 4f4b4ac2.4070...@mail.ru
 Content-Type: text/plain; charset=UTF-8; format=flowed

 27.02.2012 12:19, Mattias Gaertner ?:
  On Mon, 27 Feb 2012 06:18:59 +0100
  Hans-Peter Diettrichdrdiettri...@aol.com  wrote:
 
  John Repucci schrieb:
  I'm attempting to use thashset from the fcl-stl unit.
 
  It appears that fcl-stl is not compiled with the fpc that comes with
  Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32.
 
  2.6.1 does not install them.
  2.7.1 does. At least under Linux and OS X.
 
  I don't know why 2.6.1 does not install them. Maybe they were not
  stable. You could ask on the fpc list.
 
 

 A bug, #19916, fixed in 2.7.1

Bug #19916 was closed ~ 6 months ago.
I downloaded 2.7.1 yesterday and it did not include fcl-stl.
I'll ask on the fpc list.
Thanks all.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread Sven Barth

Am 27.02.2012 14:15, schrieb John Repucci:

Date: Mon, 27 Feb 2012 13:20:02 +0400
From: Alexander Shishkin alexv...@mail.ru mailto:alexv...@mail.ru
Subject: Re: [Lazarus] fcl-stl / thashset question
To: lazarus@lists.lazarus.freepascal.org
mailto:lazarus@lists.lazarus.freepascal.org
Message-ID: 4f4b4ac2.4070...@mail.ru mailto:4f4b4ac2.4070...@mail.ru
Content-Type: text/plain; charset=UTF-8; format=flowed

27.02.2012 12:19, Mattias Gaertner ?:
  On Mon, 27 Feb 2012 06:18:59 +0100
  Hans-Peter Diettrichdrdiettri...@aol.com
mailto:drdiettri...@aol.com  wrote:
 
  John Repucci schrieb:
  I'm attempting to use thashset from the fcl-stl unit.
 
  It appears that fcl-stl is not compiled with the fpc that comes
with
  Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32.
 
  2.6.1 does not install them.
  2.7.1 does. At least under Linux and OS X.
 
  I don't know why 2.6.1 does not install them. Maybe they were not
  stable. You could ask on the fpc list.
 
 

A bug, #19916, fixed in 2.7.1

Bug #19916 was closed ~ 6 months ago.
I downloaded 2.7.1 yesterday and it did not include fcl-stl.
I'll ask on the fpc list.
Thanks all.


I did a quick test by manually building and installing FPC 2.7.1 on 
i386-win32. There fcl-stl is included in the installation. But you are 
indeed right that it is not included in the snapshot download. Please 
file a bug report.


Regards,
Sven


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread John Repucci

 From: Sven Barth pascaldra...@googlemail.com

 I did a quick test by manually building and installing FPC 2.7.1 on
 i386-win32. There fcl-stl is included in the installation. But you are
 indeed right that it is not included in the snapshot download. Please
 file a bug report.

 Regards,
 Sven


 Done:  bug #: 0021384 http://bugs.freepascal.org/view.php?id=21384

Sven (or others), can you point me to a reference document on how to build
fpc on a windows system?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread Sven Barth

Am 27.02.2012 16:11, schrieb John Repucci:

From: Sven Barth pascaldra...@googlemail.com
mailto:pascaldra...@googlemail.com

I did a quick test by manually building and installing FPC 2.7.1 on
i386-win32. There fcl-stl is included in the installation. But you are
indeed right that it is not included in the snapshot download. Please
file a bug report.

Regards,
Sven


Done:  bug #: 0021384 http://bugs.freepascal.org/view.php?id=21384
Sven (or others), can you point me to a reference document on how to
build fpc on a windows system?


Here for example: http://www.stack.nl/~marcov/buildfaq.pdf

But basically the following should be sufficient:
* I assume the source is located in %FPCSRC% and a 2.6 is installed in 
%FPCBIN% (it's also ok if it is in %PATH%). I further assume that you 
want to install 2.7.1 to %FPCDEST%

* open cmd.exe and navigate to %FPCSRC%
* if the 2.6 compiler is in %PATH%:
  make all install INSTALL_PREFIX=%FPCDEST%
* if not:
  make all install INSTALL_PREFIX=%FPCDEST% FPC=%FPCBIN%\i386-win32\fpc.exe

Then you copy %FPCBIN%\i386-win32\fpc.cfg to %FPCDEST%\i386-win32\ and 
adjust any paths in there so that they fit your new %FPCDEST%


That should be it. You can then call the compiler using 
%FPCDEST%\i386-win32\fpc.exe


Regards,
Sven

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-27 Thread Hans-Peter Diettrich

Mattias Gaertner schrieb:


I have ghashset.ppu and .o in fcl-stl/units/i386-win32.


That's only the precompiled version.
He was asking about the installed version of the ppu file.


Sorry, I didn't understand installed, in Lazarus context.
Only after reading further replies I realized that the FPC make 
install was meant.


DoDi



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] fcl-stl / thashset question

2012-02-26 Thread John Repucci
I'm attempting to use thashset from the fcl-stl unit.

It appears that fcl-stl is not compiled with the fpc that comes with
Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32.

While fcl-stl is in the source, it is not found in the units directory
tree.  (this is also true of fpc-2.7.1.i386-win32 that I downloaded
yesterday).

Any suggestions how I might get a version of fpc that includes fcl-stl?
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] fcl-stl / thashset question

2012-02-26 Thread Hans-Peter Diettrich

John Repucci schrieb:

I'm attempting to use thashset from the fcl-stl unit.

It appears that fcl-stl is not compiled with the fpc that comes with 
Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32. 

While fcl-stl is in the source, it is not found in the units directory 
tree.  (this is also true of fpc-2.7.1.i386-win32 that I downloaded 
yesterday).


I have ghashset.ppu and .o in fcl-stl/units/i386-win32.


Any suggestions how I might get a version of fpc that includes fcl-stl?


IMO it's a Lazarus only problem. The Lazarus *fcl package* includes only 
*very* few fcl units. Try to add the required unit(s) directly to your 
project, and accept adding the recommended unit search path. You 
probably can remove the unit reference afterwards, when the added path 
is sufficient (untested). A proper solution should add all FCL units to 
the Lazarus fcl package, though.


DoDi


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus