.

Saturday, May 9, 2020

Running HarbourMiniGUI (HMG Extended v20.04) on Linux with wine 5.7

I'm using Harbour MiniGUI Extended Edition to develop some applications, previously using HMG 19, and now trying to update to HMG 20.04.

Download current version here http://hmgextended.com/files/CONTRIB/hmg-20.04-setup.exe, and just directly click the exe file to start installation.

The problem with current version of HMG is, the BCC compiler supported only BCC version 5.8, my BCC installed in my computer still using BCC 5.5. So I need to download and install BCC 5.8.

Next, download free BCC 5.8 from the website http://hmgextended.com/files/MISC/bcc582.zip, you need to extract it to c:\borland\bcc58 folder, on Linux drive C folder is on your WINEPREFIX folder, the default is on ~/.wine/drive_c/, except you change the WINEPREFIX when first install Wine.

Try compile simple application in samples folder, I choose /MiniGUI/SAMPLES/BASIC/AlertBoxes

My first attempt :


I got error LM282 and LM350 and not producing an exe output file, after do some search on the internet, I got the solution from here https://stackoverflow.com/questions/28929516/how-to-fix-lme288-unknown-heap-name-warning, I need to modify ilink32.exe to support large memory address on 64-bit system, so I run the command from that reference;

c:\masm32\bin\editbin /LARGEADDRESSAWARE ilink32.exe

Here is the screenshot, you need to press ENTER after run the command


Now, lets try recompiling the samples again,


 Yay...success...there were no error messages appeared, and exe file directly generated and executed.


Happy coding ;)





 

No comments:

Setting DeepCool AK400 Digital CPU fan di Manjaro Linux

  Baru rakit PC dan pakai AK400 Digital untuk CPU fannya, setelah install linux ternyata tulisan digitalnya gak tampil, cari-cari di interne...