off topic: Xharbour mingw 32 bits

JoséQuintas
Posts: 48
Joined: Tue Feb 09, 2021 4:20 pm

off topic: Xharbour mingw 32 bits

Post by JoséQuintas »

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
User avatar
Antonio Linares
Site Admin
Posts: 42256
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by Antonio Linares »

Dear Jose,
Memory(0) on harbour 32 bits and mingw:
- 2GB mingw 6.4
- 3GB later
- 4GB mingw 14.2
have you tested these values yourself ? Windows 32 bits does not gives you 4GB even if theoretically should be possible.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
carlos vargas
Posts: 1721
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: off topic: Xharbour mingw 32 bits

Post by carlos vargas »

in my test, harbour with mingw, bcc, msvc 32 bits

in mingw32 14.2 ->4gb
in msvc32 -> 2gb
in bcc770 32 bits -> 2gb
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
Antonio Linares
Site Admin
Posts: 42256
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by Antonio Linares »

very good news,

thanks Carlos!
regards, saludos

Antonio Linares
www.fivetechsoft.com
JoséQuintas
Posts: 48
Joined: Tue Feb 09, 2021 4:20 pm

Re: off topic: Xharbour mingw 32 bits

Post by JoséQuintas »

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.
User avatar
karinha
Posts: 7884
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by karinha »

Enrico Maria Giordano wrote:And this is for BCC32:

Code: Select all | Expand

-GF:LARGEADDRESSAWARE
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?

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
User avatar
karinha
Posts: 7884
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by karinha »

Enrico Maria Giordano wrote:Yes, now I'm using it. No problem so far.
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, 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
User avatar
karinha
Posts: 7884
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by karinha »

Enrico Maria Giordano wrote:Just add this line to your ilink32.cfg:

Code: Select all | Expand

-GF:LARGEADDRESSAWARE
So is that correct?

Code: Select all | Expand

-Gn
-GF:LARGEADDRESSAWARE
-Lc:\bcc77\lib;c:\bcc77\lib\psdk
-aa
-x
 
Gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
Posts: 7884
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

Re: off topic: Xharbour mingw 32 bits

Post by karinha »

Enrico Maria Giordano wrote:Yes.
Thank you!

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
Post Reply