Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Installation, Compiling and Running of theide » Compiler or LINK options = MSC9 build
Compiler or LINK options = MSC9 build [message #26546] Mon, 10 May 2010 19:18 Go to next message
klrkt is currently offline  klrkt
Messages: 20
Registered: December 2008
Promising Member
I am trying to set the following switches for MSC9 build
-DataExecutionPrevention:0
-RandomizedBaseAddress:1
-FixedBaseAddress:2


I tried all three on "Setup/Build Methods" - MSC9,Optimize for Speed field which only accepted -DataExecutionPrevention:0

The -RandomizedBaseAddress:1 and -FixedBaseAddress:2 switches returned errors on the Optimize fields
and the "Release Flags" and "Release Link" fields.
i.e.
LINK : warning LNK4044: unrecognized option '/RandomizedBaseAddress:0'; ignored
LINK : warning LNK4044: unrecognized option '/FixedBaseAddress:0'; ignored

I am using the provided "Puzzle" example.
Can you help please?
Re: Compiler or LINK options = MSC9 build [message #26584 is a reply to message #26546] Thu, 13 May 2010 07:11 Go to previous messageGo to next message
tojocky is currently offline  tojocky
Messages: 607
Registered: April 2008
Location: UK
Contributor

Maybe this is correct?
-DDataExecutionPrevention:0
-DRandomizedBaseAddress:1
-DFixedBaseAddress:2

you need to add "D" prefix if you want to pass as flag.

klrkt wrote on Mon, 10 May 2010 20:18

I am trying to set the following switches for MSC9 build
-DataExecutionPrevention:0
-RandomizedBaseAddress:1
-FixedBaseAddress:2


I tried all three on "Setup/Build Methods" - MSC9,Optimize for Speed field which only accepted -DataExecutionPrevention:0

The -RandomizedBaseAddress:1 and -FixedBaseAddress:2 switches returned errors on the Optimize fields
and the "Release Flags" and "Release Link" fields.
i.e.
LINK : warning LNK4044: unrecognized option '/RandomizedBaseAddress:0'; ignored
LINK : warning LNK4044: unrecognized option '/FixedBaseAddress:0'; ignored

I am using the provided "Puzzle" example.
Can you help please?

Re: Compiler or LINK options = MSC9 build [message #26606 is a reply to message #26546] Fri, 14 May 2010 17:31 Go to previous message
klrkt is currently offline  klrkt
Messages: 20
Registered: December 2008
Promising Member
Thanks for trying to help - I tried your suggestion - but no luck.
LINK : warning LNK4044: unrecognized option '/DRandomizedBaseAddress:0'; ignored
LINK : warning LNK4044: unrecognized option '/DFixedBaseAddress:0'; ignored

It could be a syntax issue, but it beats me.
I tried cl /? and link /? at command line, and indeed the above are not command line options.
VisualStudio uses "VTOOL" - which supports the above options.
Anyone know how VTOOL translates these options to the compiler?

ALTERNATELY:
anyone know how to set these values in code?
Previous Topic: Windows setup appends files
Next Topic: build debs
Goto Forum:
  


Current Time: Fri Mar 29 05:46:29 CET 2024

Total time taken to generate the page: 0.02230 seconds