[Harbour] How can create a library with hbmk2?

Szakáts Viktor harbour.01 at syenar.hu
Wed May 20 12:32:00 EDT 2009


>> Does this also work?
>> hbmk2 @myprglist.txt -hblib -omylib.lib
> Yes, it works.
>
> I used this:
> hbmk2 @abraxas.hbp -b -m -hblib -oAbraxasMinGW

One minor correction to this cmdline, just to not
make ppl mislead by it: @scriptfile parameter always
requires a file using .hbm format, so the .hbp extension
in this case is misleading. It won't cause any problem,
because hbmk2 won't reject it because of such extension,
but it's good practice to use .hbm even in this case:

hbmk2 @abraxas.hbm -b -m -hblib -oAbraxasMinGW

or even just:

hbmk2 abraxas.hbm -b -m -hblib -oAbraxasMinGW

(because .hbm files are recognized even without @ prefix).

Brgds,
Viktor



More information about the Harbour mailing list