Page 1 of 1

[Compiler v531+]/LARGEADDRESSAWARE works.

Posted: Mon Oct 05, 2015 9:17 pm
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.

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

Posted: Tue Oct 06, 2015 9:04 am
by Fred
Sounds like a linker issue more like a PB one, no ?

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

Posted: Tue Oct 06, 2015 2:40 pm
by skywalk
haha yes. :wink:
Is there another setting I can try or maybe a newer linker?

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

Posted: Tue Oct 06, 2015 3:06 pm
by Fred
Yes, you can try to donwload PelesC, and uses the lastest linker (polink), it should be compatiable

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

Posted: Tue Oct 06, 2015 5:43 pm
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!

Re: [Compiler v531+]/LARGEADDRESSAWARE Works

Posted: Wed Oct 07, 2015 2:35 pm
by skywalk
Sorry, the correct syntax is:
/LARGEADDRESSAWARE
Not, /LARGEADDRESSAWARE:YES. :oops: