[Lazarus] Cross compiling LCL win32=>win64; update wiki?

Reinier Olislagers reinierolislagers at gmail.com
Sun Feb 19 14:06:11 CET 2012


On 19-2-2012 13:28, Sven Barth wrote:
> On 19.02.2012 13:22, Reinier Olislagers wrote:
>> My regex skills are not that good, but
>> fpcdev -h | grep "^      \-T"
>> already gives good results, thanks.
> 
> Your tools is written in Pascal? Then you could just read the output of
> "fpc -h", Trim() every line and check whether Pos('-T',line) is 1. If
> that is the case then you can process that line (no need for regular
> expressions here ^^). [though using regular expressions in FPC isn't
> that complicated ;) ]
> 
Thanks Sven, yes, I wasn't really going to use regexes for this ;)

Having to struggle with a Dutch postcode detector regex was awful
enough... but I really like the fact that we now have the "big" Sorokin
regex unit available in FPC...

Thanks,
Reinier




More information about the Lazarus mailing list