Pelles C forum

Pelles C => Feature requests => Topic started by: Stefan Pendl on July 05, 2006, 08:34:06 PM

Title: add compiler option to make exe "large memory aware&quo
Post by: Stefan Pendl on July 05, 2006, 08:34:06 PM
Pelle,
is there a way to include an option to make Windows exes aware of large memory (WinXP /3GB boot.ini option) ???
I know that there is a little tool to do this, but saving this wit the project would be cleaner and easyer to handle.

Thanks for listening.
Title: Re: add compiler option to make exe "large memory aware
Post by: Pelle on August 04, 2006, 12:05:43 PM
Use "Project" -> "Project options", "Macros" tab, and manually edit the "LINKFLAGS" macro (add /LARGEADDRESSAWARE option). This *should* work...
Title: add compiler option to make exe "large memory aware&quo
Post by: Stefan Pendl on August 07, 2006, 10:54:23 PM
Thanks Pelle, will try that.
Title: Re: add compiler option to make exe "large memory aware
Post by: skywalk on October 06, 2015, 07:34:42 PM
Use "Project" -> "Project options", "Macros" tab, and manually edit the "LINKFLAGS" macro (add /LARGEADDRESSAWARE option). This *should* work...
Sorry to bump old topic, but it is still relevant to me.
I also asked here? (http://forum.pellesc.de/index.php?topic=6808.msg25686#msg25686)
Title: Re: add compiler option to make exe "large memory aware&quo
Post by: TimoVJL on October 07, 2015, 07:29:12 AM
There are polink option /LARGEADDRESSAWARE and /LARGEADDRESSAWARE:NO only.
Same as ms link.exe

Code: [Select]
Syntax:
/LARGEADDRESSAWARE [:NO]
Title: Re: add compiler option to make exe "large memory aware&quo
Post by: skywalk on October 07, 2015, 03:34:00 PM
Thanks, that worked!
I used /LARGEADDRESSAWARE:YES  :-[