off topic: Xharbour mingw 32 bits
-
- Posts: 48
- Joined: Tue Feb 09, 2021 4:20 pm
off topic: Xharbour mingw 32 bits
helping a friend.
Memory(0) on harbour 32 bits and mingw:
- 2GB mingw 6.4
- 3GB later
- 4GB mingw 14.2
Is it the same on XHarbour ?
mingw 32 bits, NOT 64 bits
Memory(0) on harbour 32 bits and mingw:
- 2GB mingw 6.4
- 3GB later
- 4GB mingw 14.2
Is it the same on XHarbour ?
mingw 32 bits, NOT 64 bits
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: off topic: Xharbour mingw 32 bits
Dear Jose,
have you tested these values yourself ? Windows 32 bits does not gives you 4GB even if theoretically should be possible.Memory(0) on harbour 32 bits and mingw:
- 2GB mingw 6.4
- 3GB later
- 4GB mingw 14.2
- carlos vargas
- Posts: 1721
- Joined: Tue Oct 11, 2005 5:01 pm
- Location: Nicaragua
Re: off topic: Xharbour mingw 32 bits
in my test, harbour with mingw, bcc, msvc 32 bits
in mingw32 14.2 ->4gb
in msvc32 -> 2gb
in bcc770 32 bits -> 2gb
in mingw32 14.2 ->4gb
in msvc32 -> 2gb
in bcc770 32 bits -> 2gb
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
Carlos Vargas
Desde Managua, Nicaragua (CA)
- Antonio Linares
- Site Admin
- Posts: 42256
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: off topic: Xharbour mingw 32 bits
very good news,
thanks Carlos!
thanks Carlos!
-
- Posts: 48
- Joined: Tue Feb 09, 2021 4:20 pm
Re: off topic: Xharbour mingw 32 bits
32 bits limit is 4GB.
On Windows 32 bits, memory is used by Windows and video too, application is limited to remaining memory.
On Windows 64 bits, a 32 bits application can use up to 4GB memory.
Sometimes this may be helpfull, but seems that only mingw was updated.
On Windows 32 bits, memory is used by Windows and video too, application is limited to remaining memory.
On Windows 64 bits, a 32 bits application can use up to 4GB memory.
Sometimes this may be helpfull, but seems that only mingw was updated.
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
With MSC32, just add this link switch:
Code: Select all | Expand
/LARGEADDRESSAWARE
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
And this is for BCC32:
Code: Select all | Expand
-GF:LARGEADDRESSAWARE
Re: off topic: Xharbour mingw 32 bits
Buenos días Enrique. ¿Alguna vez has usado este comando? ¿Crees que es una buena idea? ¿No arruinará eso la memoria? ¿Puedo poner este comando en BUILDX.BAT para probar?Enrico Maria Giordano wrote:And this is for BCC32:
Code: Select all | Expand
-GF:LARGEADDRESSAWARE
Good morning Enrico. Have you ever used this command? Do you think it's a good idea? Won't that blow the memory? Can I put this command in BUILDX.BAT to test?
Gracias, tks.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
Yes, now I'm using it. No problem so far.
Re: off topic: Xharbour mingw 32 bits
Enrico, without abusing his good will, could show the SYNTAX of what the writing would look like in BUILDX.bat, I'm not in the mood to take risks.Enrico Maria Giordano wrote:Yes, now I'm using it. No problem so far.
Enrico, sin abusar de su buena voluntad, podría mostrar la SINTAXIS de cómo quedaría la escritura en BUILDX.bat?
Gracias, tks.
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
Just add this line to your ilink32.cfg:
Code: Select all | Expand
-GF:LARGEADDRESSAWARE
Re: off topic: Xharbour mingw 32 bits
So is that correct?Enrico Maria Giordano wrote:Just add this line to your ilink32.cfg:
Code: Select all | Expand
-GF:LARGEADDRESSAWARE
Code: Select all | Expand
-Gn
-GF:LARGEADDRESSAWARE
-Lc:\bcc77\lib;c:\bcc77\lib\psdk
-aa
-x
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
Thank you!Enrico Maria Giordano wrote:Yes.
Enrico, do you know all these commands?
https://docwiki.embarcadero.com/RADStud ... mmand_Line
Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Enrico Maria Giordano
- Posts: 8728
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: off topic: Xharbour mingw 32 bits
That link is not valid.