off topic: Xharbour mingw 32 bits

off topic: Xharbour mingw 32 bits

Postby JoséQuintas » Sat Oct 12, 2024 12:12 am

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
JoséQuintas
 
Posts: 33
Joined: Tue Feb 09, 2021 4:20 pm

Re: off topic: Xharbour mingw 32 bits

Postby Antonio Linares » Sat Oct 12, 2024 6:45 am

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

Re: off topic: Xharbour mingw 32 bits

Postby carlos vargas » Wed Oct 16, 2024 8:56 pm

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
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: off topic: Xharbour mingw 32 bits

Postby Antonio Linares » Thu Oct 17, 2024 12:57 am

very good news,

thanks Carlos!
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: off topic: Xharbour mingw 32 bits

Postby JoséQuintas » Sun Oct 27, 2024 12:45 pm

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.
JoséQuintas
 
Posts: 33
Joined: Tue Feb 09, 2021 4:20 pm

Re: off topic: Xharbour mingw 32 bits

Postby Enrico Maria Giordano » Sun Oct 27, 2024 3:15 pm

With MSC32, just add this link switch:

Code: Select all  Expand view
/LARGEADDRESSAWARE
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: off topic: Xharbour mingw 32 bits

Postby Enrico Maria Giordano » Sun Oct 27, 2024 3:26 pm

And this is for BCC32:

Code: Select all  Expand view
-GF:LARGEADDRESSAWARE
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: off topic: Xharbour mingw 32 bits

Postby karinha » Mon Oct 28, 2024 12:17 pm

Enrico Maria Giordano wrote:And this is for BCC32:

Code: Select all  Expand view
-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: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: off topic: Xharbour mingw 32 bits

Postby Enrico Maria Giordano » Mon Oct 28, 2024 1:55 pm

Yes, now I'm using it. No problem so far.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: off topic: Xharbour mingw 32 bits

Postby karinha » Mon Oct 28, 2024 2:11 pm

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: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: off topic: Xharbour mingw 32 bits

Postby Enrico Maria Giordano » Mon Oct 28, 2024 2:18 pm

Just add this line to your ilink32.cfg:

Code: Select all  Expand view
-GF:LARGEADDRESSAWARE
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: off topic: Xharbour mingw 32 bits

Postby karinha » Mon Oct 28, 2024 2:29 pm

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

Code: Select all  Expand view
-GF:LARGEADDRESSAWARE


So is that correct?

Code: Select all  Expand view

-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: 7824
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Re: off topic: Xharbour mingw 32 bits

Postby karinha » Mon Oct 28, 2024 2:37 pm

Enrico Maria Giordano wrote:Yes.


Thank you!

Enrico, do you know all these commands?

https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_ILINK32_and_ILINK64_on_the_Command_Line

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


Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests