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
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour