Hi Ani.
I did something like this last week.
You need Linux to build a Linux executable, but you can do this
using a Virtual Machine in Windows.
There are other solutions but what I did :
- Download VmWare Player here
https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/7_0
- Download Ubuntu 14.04.2 image for VmWare here
http://www.osboxes.org/ubuntu/
- Run the Ubuntu VM image and configure as you need/like...
- Install git
sudo apt-get install git
- Download Harbour source code ( I use Viktor's fork...
https://github.com/vszakats/harbour-core
READ !!! )
git clone https://github.com/vszakats/harbour-core.git
harbour-core
- Generate Harbour binaries and install
cd harbour-core
make
sudo make install
- Test Hello World !
cd tests
hbmk2 hello.prg
./hello
Harbour should be Ok now.
Beyond other things, you very probably will face some issues with
capitalization and paths, as they are different in Windows and Linux
worlds... #ifdef / #endif is a good friend when different code is
needed in different platforms !
Share your source code via SAMBA ( or copy it to the Linux VM, but
sharing you can use the Windows text editor you are comfortable with
) and go Harbour !
If you need any help please ask.
[[]] Maurício Faria