new mingw 15.1

Post Reply
JoséQuintas
Posts: 83
Joined: Tue Feb 09, 2021 4:20 pm
Been thanked: 4 times

new mingw 15.1

Post by JoséQuintas »

It is only a comment:

Since first time, I use harbour build in any mingw version.
From 4.7 to newer 15.1
It is needed to be mingw DWARF, and this is the default on winlibs.com

I am working with mingw 15.1 now, and using same fivewin than before.
It is working with NO problem.
José M. C. Quintas Brazil
gtwvg, fivewin 25.01, hwgui, mingw 15.1 (32 bits)
User avatar
karinha
Posts: 8079
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 12 times
Contact:

Re: new mingw 15.1

Post by karinha »

Mister Quintas, se não for pedir muito, poderia nos ensinar como se compila FIVEWIN com MINGW?
.bat / lnk, .bat / .mak, etc?

Onde descargar o MINGW? Url?

Mister Quintas, if it's not too much to ask, could you teach us how to compile FIVEWIN with MINGW?
.bat / lnk, .bat / .mak, etc?

Where can I download MINGW? Url?

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
JoséQuintas
Posts: 83
Joined: Tue Feb 09, 2021 4:20 pm
Been thanked: 4 times

Re: new mingw 15.1

Post by JoséQuintas »

The easy way: create fivewin.hbc, with fivewin requirements, save on fivewin folder.

Code: Select all | Expand

incpaths=include

libpaths=lib
{mingw}libs=fivehg
{mingw}libs=fivehgc

{mingw}libs=user32 winspool kernel32 comctl32 comdlg32 gdi32 gdiplus ole32
{mingw}libs=oleaut32 psapi oledlg mfcuia32 msimg32 win32k stdc++ version
{mingw}libs=uuid winmm vfw32 wsock32
{mingw}libs=uxtheme

libs=hbwin.hbc
libs=xhb.hbc
libs=hbct.hbc
libs=hbmzip.hbc
libs=hbziparc.hbc
After that, goto samples folder:

Code: Select all | Expand

hbmk2 samplename.prg ..\fivewin.hbc
If your harbour do not have the hbc list, include libpaths= and libs= for all lib paths and lib names.

if you are using hbmk2 on XHARBOUR, add -xhb, do do not use hbmk2 internal harbour, and to use xharbour standard libraries.
José M. C. Quintas Brazil
gtwvg, fivewin 25.01, hwgui, mingw 15.1 (32 bits)
User avatar
karinha
Posts: 8079
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 12 times
Contact:

Re: new mingw 15.1

Post by karinha »

Mister Quintas, estou testando com HARBOUR por enquanto. Ajude aqui neste tópico por favor.

Mister Quintas, I'm testing with HARBOUR for now. Help here in this topic please.

viewtopic.php?p=279488#p279488

Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply