[Lazarus] Building lhelp.... and primary config path
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jul 12 18:38:16 CEST 2012
On Thu, 12 Jul 2012 18:32:25 +0200
Reinier Olislagers <reinierolislagers at gmail.com> wrote:
> Hi Mattias & list,
>
> In testing with my fpcup installer, I've noticed that the lhelp build
> gets kicked off on the fly sometimes when I press F1 on a keyword.
>
> Very nice!
>
> However, I also noticed it doesn't seem to pick up my (non-default)
> primary config path but uses the default (i.e.
> C:\Users\Reinier\AppData\Local\lazarus\ on my Vista box).
>
> I tried to reproduce this using a snapshot on a clean Windows machine
> but couldn't get the lhelp compile to work by just pressing F1 on a
> keyword.... because it is delivered as a precompiled .exe
>
> So, just wanted to know if primary config path of the current IDE taken
> into account when kicking off the lhelp build?
yes. chmhelppkg which compiles lhelp uses the current lazarus directory.
> If you (probably Mattias...) don't know by heart, I'd be happy to dig
> deeper and find out myself!
>
> On a related note: would it make sense to distribute lhelp compiled with
> default instead of debug mode (i.e. with no or external debug symbols)?
> This would reduce size from about 20 meg to about 3 meg on a Windows
> machine...
> (Don't know if it is considered better to have a larger exe where you
> can get a backtrace, but a patch is attached if wanted)
The deb and rpm strip the lhelp exe. The windows snapshot should do the same.
Mattias
More information about the Lazarus
mailing list