On Wed, 16 Sep 2009, Tamas TEVESZ wrote:

Hi,

>  > If we can define the rules when to include this lib I can add
>  > it to hbmk2. First confusion is what is the difference between
>  > supc++ and stdc++ ? mingw/win requires supc++ when linking hbqt.
> i would rather say that if harbour was built with cpp mode, then hbmk2 
> should call g++ (CXX) instead gcc (CC) automatically. "manually" 
> messing with this seems counterintuitive, no? this i believe also 
> would take care of stdc++ vs supc++ (no idea what the difference is), 
> libCrun on sunpro, and other c++ support libs other compilers might 
> have. i think.

IMHO hbmk2 by default should look for compiler used to compile hbmk2
and then look for others.
In most of cases it's used with the same compiler so it's preferable
behavior and any other combinations also needs to sync libraries.
So it's enough to check existing HB_VERSION_* flags.
It will also resolve few other problems I have now, i.e. I cannot
use hbmk2 on computers where I have other C compilers in the PATH.

BTW what is current order/priority of detecting C compilers in hbmk2?

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to