It seems this is a never ending topic :)

First I'd suggest to create separate scripts to setup the
environment for Harbour and xhb, and even C compiler.

> SET HB_ARCHITECTURE=WIN
> > SET HB_COMPILER=bcc32
> > SET HB_PATH=c:\harbour
> > SET HB_BIN_INSTALL=c:\harbour\BIN
> > SET HB_LIB_INSTALL=c:\harbour\LIB
> > SET HB_INC_INSTALL=c:\harbour\INCLUDE
>

So far so good.

HB_PATH isn't needed for Harbour.


> > SET INCLUDE=c:\harbour\INCLUDE;c:\xharbour\bcc55\INCLUDE;c:\oohg\include;
> > SET LIB=c:\harbour\LIB;c:\xharbour\bcc55\lib;c:\xharbour\bcc55\lib\PSDK
>

This isn't needed for Harbour (and also very dangerous
as Przemek pointed), instead setup the compiler as per
their docs. (discussed on this list many times, and you
can find it in BCC readme, too)


> > SET L_USR=
> > SET PRG_USR=-l
> > SET C_USR=-DHB_FM_STATISTICS_OFF -tWM -OS -Ov -Oi -Oc -Q
>

Only -DHM_FM_STATISTICS_OFF is needed, optionally.

For the rest, see:
2009-02-06 23:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu)


> > SET HB_BUILD_ST=
>

Not needed.


> > in bcc32.cfg
> > -I"c:\Xharbour\bcc55\include"
> > -L"c:\xharbour\bcc55\lib"
> > -L"C:\xharbour\BCC55\Lib\PSDK"
> > in ilink32.cfg
> > -L"c:\xharbour\bcc55\lib"
> > -L"C:\xharbour\BCC55\Lib\PSDK"
> > I share bcc with xharbour
>

This may be okay if this is a clean BCC55 install
inside your xhb dir, but to be sure I'd suggest to
separate your C compiler environment from the
Harbour/xhb compiler environments. It creates a clearer
state to begin with.

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

Reply via email to