[Harbour] SF.net SVN: harbour-project:[11104] trunk/harbour
Szakáts Viktor
harbour.01 at syenar.hu
Fri May 22 09:02:21 EDT 2009
>>> hbmk2 ../tests/hello.prg -comp=mingwarm
>> Same command will work if Windows hbmk2.exe is copied
>> into a mingwarm build bin dir. Nothing else is needed.
>> There are other combinations, but this is the simplest
>> method.
>
> AFAIK neither of the above methods works in Linux.
That's true.
> How should I use hbmk2 in Linux to create Win-x86 and WinCE
> binaries?
Let's try the hard way and simplify it later on:
---
export HB_CCPREFIX=<mingw32ce setting>
export HB_CCPATH=<mingw32ce setting>
export HB_BIN_INSTALL=<mingwarm built Harbour bin dir (for shared
libs, I'm not sure where they are on Linux builds)>
export HB_LIB_INSTALL=<mingwarm built Harbour lib dir>
./hbmk2 ../tests/hello.prg -comp=mingwarm
---
My other machine is busy at the moment with other tasks, so can't try
it,
so it'd be great if you could report settings / results.
If this works out okay, I can add autodetection for mingw/mingw32ce
on Linux, so that HB_CC* envvars can be dropped for default
installations.
Brgds,
Viktor
More information about the Harbour
mailing list