On Fri, 22 May 2009, Szak�ts Viktor wrote: Hi,
> 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)> The version encapsulate din RPMs does not have it at all. No WinCE binaries are created and harbour.dll is located in the same directory as static libraries. > 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. I tried after: 2009-05-22 15:32 UTC+0200 Viktor Szakats (harbour.01 syenar hu) and it shows: hbmk: Error: HB_INSTALL_PREFIX not set, failed to autodetect. so I set HB_INSTALL_PREFIX envvar to directory where I have full Harbour-WinCE build: /home/druzus/CVS/harbour/out-cmg and now hbmk2 fails at: /opt/mingw32ce/bin\arm-wince-mingw32ce-gcc.exe -c -O3 -march=i586 \ -mtune=pentiumpro -fomit-frame-pointer \ -I"/home/druzus/CVS/harbour/out-cmg/include" hbmk2.c /tmp/hbmk_5fq2vq.c dues to backslash (\) used instead of slash (/) in: /opt/mingw32ce/bin\arm-wince-mingw32ce-gcc.exe and unnecessary .exe extension. BTW such cross build should not be limited to Linux only but should work also with other *nixes like BSD, Darwin or SunOS for each MinGW* ports exist so instead of HB_OS_LINUX I suggest to use HB_OS_UNIX macro in hbmk2. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour