[Harbour] SF.net SVN: harbour-project:[11039] trunk/harbour
Szakáts Viktor
harbour.01 at syenar.hu
Thu May 14 08:04:00 EDT 2009
> On Thu, 14 May 2009, Szak�ts Viktor wrote:
>>> I made some test with recent hbmk2 and it stop to automatically
>>> add [n]curses, slang and x11 libraries in link phase.
>> I'll try to make some tests, but it'd help if you'd post your
>> hbmk.cfg
>> cmdline and -trace output.
>
> I've found the reason.
> Because I cannot use hbmk2 installed in nonsystem directories to
> create
> portable shared libraries I created softlink from /usr/bin to
> <mydir>hbmk2
> but in such case it cannot find hbmk.cfg.
In this case you can copy hbmk.cfg to one of these location neutral
dirs:
/etc/harbour or ~/.harbour.
If there is a way to detect that softlink condition we can add support
for it.
> How can I create distributable shared binaries using harbour.so which
> will not have hard coded <local_harbour_libpath> inside?
> I usually have more then one Harbour and [x]Harbour installation in my
> devel computers so I cannot use system libraries.
> Sometimes I also have to create binaries remotely on some more exotic
> OS-es and hardware and I do not have write permission to system
> directories
> so I have to make everything locally.
> If you plan to use hbmk2 in the Harbour build process in the future
> then such functionality is a must to create shared linked binaries,
> f.e. when you create RPMs then the destination directories used in
> build process are not the real system directories.
Yes, I'll add a new switch to control this behaviour.
I'm thinking about a good name... Any suggestions? It would
control inclusion of dir for both when Harbour is installed in
system location and also when not, only the defaults will be
different in these cases.
-shareable? -shareddist?
Brgds,
Viktor
More information about the Harbour
mailing list