[fpc-pascal] linking error while cross compiling win64 - Linux64

2011-01-26 Thread Julien Devillers
Hi I have a linking error with the following compile command : è d:\pp\bin\x86_64-win64\fpc lib\snip\snip.dpr -Tlinux -n -va -Mdelphi -FuD:\pp\bin\x86_64-win64/../../units/$FPCTARGET/ In the above line, I removed lots of includes. The error is (founded in the below log) è

[fpc-pascal] compiling 2.4.2 under 7-64

2011-01-26 Thread Julien Devillers
Hi i'm trying to compile fpc 2.4.2 under windows 7 64 bits. It raises the following error : make[5]: entrant dans le répertoire « C:/FPC/2.4.2/fpc-2.4.2/rtl/win32 » c:/gnuwin32/bin/gmkdir.exe -p C:/FPC/2.4.2/fpc-2.4.2/rtl/units/i386-win32 d:/pp_/bin/i386-win32/ppc386.exe -Ur -Xs -O2

Re: [fpc-pascal] compiling 2.4.2 under 7-64

2011-01-26 Thread Marco van de Voort
In our previous episode, Julien Devillers said: Should I consider that this is a bug of gmkdir ? I get this file with getGnuWin32. Use the binutils that come with FPC, not the ones from mingw. mingw's coreutils package has afaik moved in a different direction since it moved from mingw to msys.

[fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Mark Morgan Lloyd
As a comparative beginner, I still find myself stumbling across RTL functions that I've previously hand-coded. Is there an easy way of generating a complete permuted index from the one-line descriptions of the functions in the RTL (and optionally FCL and LCL)? For example, can I rapidly get

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Mark Morgan Lloyd wrote: As a comparative beginner, I still find myself stumbling across RTL functions that I've previously hand-coded. Is there an easy way of generating a complete permuted index from the one-line descriptions of the functions in the RTL (and

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Marco van de Voort
In our previous episode, michael.vancann...@wisa.be said: IntToBin Converts inserting spaces at IsEmptyStr Check disregaring whitespace characters That's somewhat abbreviated so that it's not screwed too badly by wrap. Creating such an index requires additional

[fpc-pascal] Re: AnsiString (Luis Fernando Del Aguila Mej?a)

2011-01-26 Thread Luis Fernando Del Aguila Mejía
Thanks for the tip, David. My intention is to learn or acquire knowledge. True the function Length is easier to use, but it's always good to know the internals of the compiler. You never know when something may go wrong. Thanks - Original Message - From:

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: IntToBin Converts inserting spaces at IsEmptyStr Check disregaring whitespace characters That's somewhat abbreviated so that it's not screwed too badly by wrap. Creating such an index

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: IntToBin Converts inserting spaces at IsEmptyStr Check disregaring whitespace characters That's somewhat abbreviated so that it's not screwed too badly by wrap.

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Mark Morgan Lloyd wrote: Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: IntToBin Converts inserting spaces at IsEmptyStr Check disregaring whitespace characters That's somewhat abbreviated so that it's not

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: simple one could look at kchmviewer) I used something called Perlfect Search for a while- which might fulfil Michael's criterion if Lazarus could handle Perl plugins :-) Pascal, and pascal only. We might make exceptions for extremely common

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Marco van de Voort
In our previous episode, michael.vancann...@wisa.be said: I used something called Perlfect Search for a while- which might fulfil Michael's criterion if Lazarus could handle Perl plugins :-) The criterion is: *written* in object pascal. Not 'callable from Object pascal' :-) And I will

Re: [fpc-pascal] Re: AnsiString (Luis Fernando Del Aguila Mej?a)

2011-01-26 Thread Jonas Maebe
On 26 Jan 2011, at 15:00, Luis Fernando Del Aguila Mejía wrote: Thanks for the tip, David. My intention is to learn or acquire knowledge. True the function Length is easier to use, but it's always good to know the internals of the compiler. You never know when something may go wrong. The

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread michael . vancanneyt
On Wed, 26 Jan 2011, Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: I'm sure that somebody familiar with XML (which I'm afraid doesn't include me) could knock out something half-way decent in a few minutes. Or is the problem actually XML in this case,

[fpc-pascal] Re: AnsiString (Luis Fernando Del Aguila Mej?a) (Jonas Maebe)

2011-01-26 Thread Luis Fernando Del Aguila Mejía
My intention is not to write code that will go wrong at some point. My intention is to understand the inner workings of the compiler, apparently did not explain me well. Let me explain: If I use a function that should always return 5, and for unknown reasons returns 8. I wonder because it failed

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Marco van de Voort
In our previous episode, michael.vancann...@wisa.be said: Categorizing routines, with subcategs if need be will be trouble enough, specially if you want to do it future proof (and also be able to flag the static method approach that Delphi current favours) OK, that was totally

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Mark Morgan Lloyd
Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: Categorizing routines, with subcategs if need be will be trouble enough, specially if you want to do it future proof (and also be able to flag the static method approach that Delphi current favours) OK, that

Re: [fpc-pascal] Re: AnsiString (Luis Fernando Del Aguila Mej?a) (Jonas Maebe)

2011-01-26 Thread Jürgen Hestermann
Luis Fernando Del Aguila Mejía schrieb: My intention is to understand the inner workings of the compiler I agree with you that such knowledge is imponderably useful. Any help information should explain this in detail. Then you can predict much easier what happens in the background and decide

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Andrew Haines
On 01/26/11 07:41, Marco van de Voort wrote: CHM has a basic phrase indexer, and it operates on the html. The search part is maybe part of the viewer, and one would have to see how complex it is. (Iow if the complexity is in index or search, if the search is relative simple one could look at

Re: [fpc-pascal] Permuted index (KWIC) of function descriptions

2011-01-26 Thread Max Vlasov
On Wed, Jan 26, 2011 at 3:06 PM, michael.vancann...@wisa.be wrote: For example, can I rapidly get all function descriptions with space as part of the description, which could subsequently be filtered (e.g. if I were interested in text operations I could quickly ignore anything with file