Re: [Lazarus] Problem Finding Units

2011-07-17 Thread David Riley
Thank you very much for all of your help Martin, I have my unit compiling properly and learned some new do's and don'ts. I'm now looking forward to the hopefully not too painful process of working in code folding and auto-complete in to the editor. Should be fun. ;) Anyway, just wanted to say tha

Re: [Lazarus] Problem Finding Units

2011-07-17 Thread David Riley
On Sun, 2011-07-10 at 15:20 +0200, Bart wrote: > On 7/9/11, David Riley wrote: > > > I've done some experimenting with just the highlighter unit and an empty > > project, and when I removed the {$I synedit.inc} line from the > > highlighter (I'm currently using none of the defines in the file any

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Frank Church
On 17 July 2011 16:31, leledumbo wrote: > Lazarus' makefile is different from FPC, it expects LAZARUS_INSTALL_DIR > instead of INSTALL_PREFIX for installation location > > I use INSTALL_PREFIX on LInux and it works every time. Does the Tools | Build IDE create a batch file that can be run step

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Graeme Geldenhuys
On 17 July 2011 16:58, Marcos Douglas wrote: > Ok. > What directory I will should downloading the sources, fpc\doc? This > directory is created after a make command...  or can be any directory > I want? Any directory, because if you do the 'make' for the fpcdocs you specify the path the the FPC s

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Marcos Douglas
2011/7/17 Frank Church : > > What of the installation phase, when you have to copy the Lazarus build to > the location of your choice, which is not c:\lazarus? These scripts won't "install" FPC/Lazarus, but they both work fine after. You can change the path to something do you want... of course! I

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Bart
On 7/17/11, Frank Church wrote: > What of the installation phase, when you have to copy the Lazarus build to > the location of your choice, which is not c:\lazarus? Well I have a simple setup: I do not use snapshots for Lazarus. I only have the sources. I installed Fpc (currently 2.4.4) from bin

Re: [Lazarus] staticpackages.inc not found.

2011-07-17 Thread Mattias Gaertner
On Sun, 17 Jul 2011 14:05:11 +0100 Frank Church wrote: >[...] > > > Unable to find file "staticpackages.nc" >[...] > > > staticpackages.inc is right where it normally is, and it even gets > > updated > > > during the compilation process with duplicates added by the zeos package > > I > > > am try

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread leledumbo
Lazarus' makefile is different from FPC, it expects LAZARUS_INSTALL_DIR instead of INSTALL_PREFIX for installation location -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Building-Lazarus-for-Windows-tp3174724p3176979.html Sent from the Free Pascal - Laza

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Frank Church
On 17 July 2011 15:57, Bart wrote: > You must be doing something wrong then. > > * Assuming fpc binaries and binutils are in %path% > * After updating the sources from svn: > > cd \path_to_lazarus_sources > make clean all OPT='-gl' > > that should be all. > (Then in Lazarus IDE set compiler to th

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Marcos Douglas
On Sun, Jul 17, 2011 at 8:23 AM, Graeme Geldenhuys wrote: > On 17 July 2011 00:52, Marcos Douglas wrote: >> Where do I find the README.DOCS file? >> I use http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 and there >> is no README.DOCS. >> > > Where were talking about the FPC docs repository (

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Bart
You must be doing something wrong then. * Assuming fpc binaries and binutils are in %path% * After updating the sources from svn: cd \path_to_lazarus_sources make clean all OPT='-gl' that should be all. (Then in Lazarus IDE set compiler to the same one you used to build Lazarus, or things go wro

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Marcos Douglas
On Sun, Jul 17, 2011 at 2:44 AM, Felipe Monteiro de Carvalho wrote: > On Sun, Jul 17, 2011 at 12:52 AM, Marcos Douglas wrote: >> Where do I find the README.DOCS file? >> I use http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 and there >> is no README.DOCS. > > The documentation is in a separa

[Lazarus] Translations unit and impact on executable filesize

2011-07-17 Thread Bart
Hi all, If you use the translations unit to translate unit resources strings, then (even after stripping all debug info and using smart linking etc) this will add about 1 Mb to the executable size. This seems due to the fact that the function ConvertEncoding(const s, FromEncoding, ToEncoding: str

Re: [Lazarus] RE : RE : RE : RE : RE : RE :RE:RE:RE:RE:FPC_REQUIRES_PROPER_ALIGNMENTdefinedonSolariscausescrashinlazarus

2011-07-17 Thread Mark Morgan Lloyd
Ludo Brands wrote: If I understand things correctly "User Mode Emulation" (which I've not played with) allows you to run e.g. an ARM Linux program on a PC Linux host, while "Full System Emulation" allows you to emulate an entire computer. Correct. Downside is that you need all the arm li

Re: [Lazarus] staticpackages.inc not found.

2011-07-17 Thread Frank Church
On 17 July 2011 13:14, Mattias Gaertner wrote: > On Sun, 17 Jul 2011 12:57:27 +0100 > Frank Church wrote: > > > I am trying to rebuild my IDE when a whole component's directory > vanished. I > > am not sure if I deleted by accident. > > > > When I restore the source and try to recompile it, I ge

Re: [Lazarus] staticpackages.inc not found.

2011-07-17 Thread Mattias Gaertner
On Sun, 17 Jul 2011 12:57:27 +0100 Frank Church wrote: > I am trying to rebuild my IDE when a whole component's directory vanished. I > am not sure if I deleted by accident. > > When I restore the source and try to recompile it, I get this error. > > Unable to find file "staticpackages.nc" > >

[Lazarus] staticpackages.inc not found.

2011-07-17 Thread Frank Church
I am trying to rebuild my IDE when a whole component's directory vanished. I am not sure if I deleted by accident. When I restore the source and try to recompile it, I get this error. Unable to find file "staticpackages.nc" > if it belongs to your project, check search path in > Project-Compiler

Re: [Lazarus] Is there some way packages can be designed to make developing them for different versions of Lazarus easier?

2011-07-17 Thread Mattias Gaertner
On Sat, 16 Jul 2011 16:43:16 +0100 Frank Church wrote: > In relation to the earlier thread > http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-July/064884.html, > are there some guidelines package designers must apply to ensure that they > can be compiled by different versions and builds

Re: [Lazarus] Building Lazarus for Windows

2011-07-17 Thread Frank Church
On 16 July 2011 23:22, Marcos Douglas wrote: > 2011/7/16 Frank Church > > > > I had a go buidling Lazarus with this short script > >> > >> set oldpath=%PATH% > >> > >> PATH=M:\Lazarus\Binutils;%PATH% > >> > >> make clean all PP=M:\FreePascal\251_17989\bin\i386-win32\ppc386.exe > >> > >> make ins

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Graeme Geldenhuys
On 17 July 2011 03:29, Hans-Peter Diettrich wrote: > > A language consists of 1% syntax, and 99% standard libraries. Fair point. But with a good IDE, it can make the learning process much easier using: code templates, code completion, parameter hints etc... Most good IDE's support this lately.

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Graeme Geldenhuys
On 17 July 2011 03:33, Hans-Peter Diettrich wrote: > Have a look into the docs/html directory? > That is the Lazarus docs directory which uses a very different build system to the FPC docs (which is what we talked about). For Lazarus documentation you must compile the build_lcl_docs.lpi project

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Graeme Geldenhuys
On 17 July 2011 00:52, Marcos Douglas wrote: > Where do I find the README.DOCS file? > I use http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 and there > is no README.DOCS. > Where were talking about the FPC docs repository (not Lazarus docs). It can be checked out from the following URL:

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Graeme Geldenhuys
On 17 July 2011 00:10, Felipe Monteiro de Carvalho wrote: > > That seams interesting. In my previous attempts to build the docs I > ended up with an error for a missing latex dependency or something > like that ... I didn't know one can build the docs without it. You only need latex for the Langua

Re: [Lazarus] FPDoc tracker

2011-07-17 Thread Hans-Peter Diettrich
Felipe Monteiro de Carvalho schrieb: On Sun, Jul 17, 2011 at 3:33 AM, Hans-Peter Diettrich wrote: Ok, so I issued the command and it seams to have worked! But where are the html files? Have a look into the docs/html directory? user-188-33-177-8:fpcdocs felipe$ cd docs -bash: cd: docs: No suc