[Compiler v531+]/LARGEADDRESSAWARE works.

Windows specific forum
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

[Compiler v531+]/LARGEADDRESSAWARE works.

Post by skywalk »

Code: Select all

; Linker.txt file contents:
/LARGEADDRESSAWARE:YES
POLINK wrote:fatal error: Invalid /LARGEADDRESSAWARE argument; use NO.
Yes, I know there is x64, but I need the additional ram per process on 32-bit machines. Extending 2GB to 3GB is a 50% increase with this simple switch!
Windows cmd line wrote:; Change system setting to increase per process memory.
; Reboot after typing the following with Admin command prompt:
c:\>bcdedit /set IncreaseUserVA 3072
EDIT: use /LARGEADDRESSAWARE without the :YES and all is ok.
Last edited by skywalk on Wed Oct 07, 2015 2:37 pm, edited 2 times in total.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18226
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Compiler v531+]/LARGEADDRESSAWARE:YES Fails.

Post by Fred »

Sounds like a linker issue more like a PB one, no ?
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [Compiler v531+]/LARGEADDRESSAWARE:YES Fails.

Post by skywalk »

haha yes. :wink:
Is there another setting I can try or maybe a newer linker?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Fred
Administrator
Administrator
Posts: 18226
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Compiler v531+]/LARGEADDRESSAWARE:YES Fails.

Post by Fred »

Yes, you can try to donwload PelesC, and uses the lastest linker (polink), it should be compatiable
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [Compiler v531+]/LARGEADDRESSAWARE:YES Fails.

Post by skywalk »

Ok, I downloaded PellesC v8.00 and updated these files:
C:\PureBasic\Compilers\porc.exe
C:\PureBasic\Compilers\polib.exe
C:\PureBasic\Compilers\polink.exe
C:\PureBasic\Compilers\porc.dll

But same error as before...
I'll ask on the PellesC forum.

EDIT: If I disable /LARGEADDRESSAWARE:NO then my compile still fails for compatibility reasons. Polink complains of many "unresolved external symbol's". I guess many changes going from v5 to v8!
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
skywalk
Addict
Addict
Posts: 4218
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [Compiler v531+]/LARGEADDRESSAWARE Works

Post by skywalk »

Sorry, the correct syntax is:
/LARGEADDRESSAWARE
Not, /LARGEADDRESSAWARE:YES. :oops:
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Post Reply