hi, if i specify HB_PLATFORM=win, compiler is autodetected fine to be mingw, and all is fine.
if, however, i explicitly specify HB_COMPILER=mingw (along with HB_PLATFORM=win of course(?)), all hell breaks loose. it looks as if compile commands were *mostly* set (ie. switches and stuff are almost fine, some pathes are somewhat off), but the compiler itself is way off (gcc instead of i586-mingw32msvc-gcc). tinky:~/w/xhb/hbci/harbour-build$ export HB_PLATFORM=win tinky:~/w/xhb/hbci/harbour-build$ make ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_HOST_PLAT: linux (x86_64) HB_SHELL: sh ! HB_PLATFORM: win (x86) ! HB_COMPILER: mingw (autodetected: /usr/bin/) ! HB_BIN_COMPILE not specified. Automatically set to: /usr/bin ! Component: 'zlib' found in /home/ice/w/xhb/hbci/harbour-build/external/zlib (local) ! Component: 'pcre' found in /home/ice/w/xhb/hbci/harbour-build/external/pcre (local) ! Component: 'openssl' not found ! Component: 'gpm' not supported on win platform ! Component: 'slang' not found ! Component: 'curses' not found ! Component: 'x11' not found ! Component: 'wattcp/watt-32' not supported on win platform ! HB_INSTALL_PREFIX automatically set to: /home/ice/w/xhb/hbci/harbour-build ! REVISION: 12489 make[2]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. /usr/bin/i586-mingw32msvc-gcc -I. -I../../../../../include -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -I/home/ice/w/xhb/hbci/harbour-build/external/zlib -I../../../../../external/libpng -o_hbhbpdf.o -c ../../../_hbhbpdf.c /usr/bin/i586-mingw32msvc-gcc -I. -I../../../../../include -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -I/home/ice/w/xhb/hbci/harbour-build/external/zlib -I../../../../../external/libpng -ohpdfanno.o -c ../../../hpdfanno.c tinky:~/w/xhb/hbci/harbour-build$ export HB_PLATFORM=win HB_COMPILER=mingw tinky:~/w/xhb/hbci/harbour-build$ make ! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org ! MAKE: make 3.81 /bin/sh ! HB_HOST_PLAT: linux (x86_64) HB_SHELL: sh ! HB_PLATFORM: win (x86) ! HB_COMPILER: mingw ! HB_BIN_COMPILE not specified. Automatically set to: /usr/bin ! Component: 'zlib' found in /usr/include ! Component: 'pcre' found in /usr/include ! Component: 'openssl' found in /usr/include ! Component: 'gpm' not supported on win platform ! Component: 'slang' found in /usr/include ! Component: 'curses' found in /usr/include ! Component: 'x11' found in /usr/include ! Component: 'wattcp/watt-32' not supported on win platform ! HB_INSTALL_PREFIX automatically set to: /home/ice/w/xhb/hbci/harbour-build ! REVISION: 12489 make[2]: Nothing to be done for `all'. make[1]: Nothing to be done for `all'. gcc -I. -I../../../../../include -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -I/usr/include -I/usr/include -ohpdfdict.o -c ../../../hpdfdict.c ../../../hpdfdict.c:1: error: CPU you selected does not support x86-64 instruction set ../../../hpdfdict.c:1: error: CPU you selected does not support x86-64 instruction set make[3]: *** [hpdfdict.o] Error 1 make[2]: *** [descend] Error 2 make[1]: *** [libhpdf] Error 2 make: *** [external] Error 2 -- [-] mkdir /nonexistent _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour