Hi!
My main platform is Linux, I need to understand how to make Windows .exe from Linux OS.
With make install Harbour build harbour.exe and others files 100% Windows OS.
>sudo make install HB_PLATFORM=win HB_INSTALL_PREFIX=/home/itamar/dev/hbwin HB_COMPILER=mingw
...
! Building Harbour 3.2.0dev from source -
https://harbour.github.io ! MAKE: make 4.3 /bin/sh install
! HB_INSTALL_PREFIX: /home/itamar/dev/hbwin
! HB_HOST_PLAT: linux (x86_64) HB_SHELL: sh
! HB_PLATFORM: win (x86)
! HB_COMPILER: mingw
! HB_HOST_BIN not specified. Automatically set to: /home/itamar/dev/hb32/bin/linux/gcc
! Component: 'zlib' found in /home/itamar/dev/hb32/src/3rd/zlib (local)
! Component: 'pcre' found in /home/itamar/dev/hb32/src/3rd/pcre (local)
! 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
/usr/bin/i686-w64-mingw32-gcc -I. -I../../../../../include -W -Wall -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DUNIC
ODE -ohbgete.o -c ../../../hbgete.c
/usr/bin/i686-w64-mingw32-gcc -I. -I../../../../../include -W -Wall -O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DUNIC
ODE -ohbgete_dyn.o -DHB_DYNLIB -c ../../../hbgete.c
...
itamar@itamar-desktop:~/dev/hb32/src/common$ ls ~/dev/hbwin/bin -l
total 19564
-rwxrwxr-x 1 root root 35962 jan 12 11:20 3rdpatch.hb
-rwxrwxr-x 1 root root 25631 jan 12 11:20 check.hb
-rwxrwxr-x 1 root root 12443 jan 12 11:20 commit.hb
-rw-r--r-- 1 root root 30208 jan 12 11:20 contrib.hbr
-rwxr-xr-x 1 root root 5726009 jan 12 16:16 harbour-32.dll
-rwxr-xr-x 1 root root 1056489 jan 12 16:16 harbour.exe
-rw-rw-r-- 1 root root 27960 jan 12 11:20 harbour.ucf
-rwxr-xr-x 1 root root 179820 jan 12 11:19 hbformat.exe
-rwxr-xr-x 1 root root 121067 jan 12 16:16 hbi18n.exe
-rw-r--r-- 1 root root 118760 jan 12 11:20 hbmk2.el.hbl
-rw-r--r-- 1 root root 212 jan 12 11:20 hbmk2.en.hbl
-rw-r--r-- 1 root root 83825 jan 12 11:20 hbmk2.es_419.hbl
-rw-r--r-- 1 root root 87214 jan 12 11:20 hbmk2.es.hbl
-rwxr-xr-x 1 root root 6439028 jan 12 16:16 hbmk2.exe
-rw-r--r-- 1 root root 9707 jan 12 11:20 hbmk2.fr.hbl
-rw-r--r-- 1 root root 83433 jan 12 11:20 hbmk2.gl.hbl
-rw-r--r-- 1 root root 18885 jan 12 11:20 hbmk2.hu.hbl
-rw-r--r-- 1 root root 39623 jan 12 11:20 hbmk2.it.hbl
-rw-r--r-- 1 root root 83682 jan 12 11:20 hbmk2.pt_BR.hbl
-rwxr-xr-x 1 root root 3113816 jan 12 11:19 hbnetio.exe
-rwxr-xr-x 1 root root 457610 jan 12 16:16 hbpp.exe
-rwxr-xr-x 1 root root 1697260 jan 12 11:19 hbrun.exe
-rwxr-xr-x 1 root root 538200 jan 12 16:16 hbtest.exe
Best regards,
Itamar M. Lins Jr.