Vista non-WIN32 apps memory restriction

  • Thread starter Tage Korsdal Nielsen
  • Start date
T

Tage Korsdal Nielsen

Hi

I need to run commandline compilers like the gnu tool chains for
different processors.

However, gcc will not run on Vista, because the memory allocation for
non WIN32 processes are limited to 32Mbyte.

Will this be fixed _soon_ or is my only option to downgrade to XP?

Rgds Tage
 
A

Andrew McLaren

Tage Korsdal Nielsen said:
I need to run commandline compilers like the gnu tool chains for different
processors.
However, gcc will not run on Vista, because the memory allocation for non
WIN32 processes are limited to 32Mbyte.

Hej, Tage

This limitation only applies to the version of gcc which runs as a 32-bit
DOS executable (aka DOSX or DOS32).

gcc itself actually runs okay on Vista, and can compile applications - it
just cannot malloc more than 32MB of memory in a NTVDM ("NT Virtual DOS
Machine"). The limitation wasn't aimed at gcc, as such - no DMPI server, for
any application, can allocate more than 32 MB of memory on Vista. I've heard
that this is actually "by design", as some kind of security or reliability
feature. And in the grand scheme of things very few DOS applications ever
need more than 32MB of RAM.

The version of gcc which runs in the Subsystem for Unix Applications (SUA)
does not have this restriction - this is a pure 32-bit and 64-bit POSIX
environment. If you need to work with Unix and/or POSIX applications
applications on Windows, I highly recommend using SUA - see

http://www.microsoft.com/downloads/...01-325E-487F-A398-EFDE5758C47F&displaylang=en

and

http://technet.microsoft.com/en-us/interopmigration/bb380248.aspx

You can get SUA-ready source code and compiled versions of many popular Open
Source apps from teh guys at InteropSystems

http://www.interopsystems.com

Apache, BASH, Postgresql, autoconf, automake, Qt, etc etc - it's all there,
ready to run on Vista.

Vi ses,
 
?

=?ISO-8859-1?Q?Tage_Korsda=E6_Nielsen?=

Andrew McLaren skrev:
Hej, Tage

This limitation only applies to the version of gcc which runs as a 32-bit
DOS executable (aka DOSX or DOS32).

gcc itself actually runs okay on Vista, and can compile applications - it
just cannot malloc more than 32MB of memory in a NTVDM ("NT Virtual DOS
Machine"). The limitation wasn't aimed at gcc, as such - no DMPI server, for
any application, can allocate more than 32 MB of memory on Vista. I've heard
that this is actually "by design", as some kind of security or reliability
feature. And in the grand scheme of things very few DOS applications ever
need more than 32MB of RAM.

The version of gcc which runs in the Subsystem for Unix Applications (SUA)
does not have this restriction - this is a pure 32-bit and 64-bit POSIX
environment. If you need to work with Unix and/or POSIX applications
applications on Windows, I highly recommend using SUA - see

http://www.microsoft.com/downloads/...01-325E-487F-A398-EFDE5758C47F&displaylang=en

and

http://technet.microsoft.com/en-us/interopmigration/bb380248.aspx

You can get SUA-ready source code and compiled versions of many popular Open
Source apps from teh guys at InteropSystems

http://www.interopsystems.com

Apache, BASH, Postgresql, autoconf, automake, Qt, etc etc - it's all there,
ready to run on Vista.

Vi ses,

Thanx alot Andrew for clarifying this!
Med venlig hilsen ;-)
Tage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top