Hi Supriadi,
> What is mngw advantages compared to borland 55
As I said, BCC55 is 16 years old. In its heyday in the xHarbour
community it was available from a Borland web page called "The Museum".
It was later removed from the museum, Borland sold off their tools
division to Embarcadero, and if I remember the media reports correctly
Embarcadero has now abandoned the very foundation that the BCC family of
compilers was built on. So any other compiler is a better choice than
BCC55. The Harbour community has mostly standardized on the MinGW C
compiler although a few people use MSC and even fewer use one of the
Borland variants.
As I also said, the MinGW compiler is included in the nightly download
of the Harbour compiler, so all you need is already in the package.
> Please ...help us , Can you share of configuration to compile some prg
> with several libraries with minigw
Just set up the paths to the C compiler binaries and the Harbour
binaries. That is all. Do not set any environment variables. No matter
what C compiler you use, that is exactly what you should do, no more, no
less, regarding compiler setup.
For your projects, let hbmk2 set up all dependencies based on the
contents of the .hbp file for each project. Always specify libs using
their .hbc files only (*not* with -l for the lib path and -i for the
include path), so to use hbct, the Clipper Tools compatible lib, just
add "hbct.hbc" (without the quotes) in the .hbp file. That will make
hbmk2 set up both the library file and any header files automatically.
Likewise, to use the Nanforum Toolkit compatible lib, called hbnf, just
specify "hbnf.hbc" and everything will be taken care of.
Regards,
Klas