From: Alex Blekhman on
On 18-Mar-10 10:09, David Lowndes wrote:
> Checking a couple of my projects, I don't have any explicit WIN64
> (or_WIN64) defined - which begs the question, how does the
> configuration know to invoke the 64-bit compiler - and I have to admit
> that I'm now not sure how it's done!

Well, the IDE invokes the 64-bit compiler because you told it so by
defining x64 platform configuration. In its own turn, 64-bit compiler
always defines _WIN64 (and _WIN32 for backcompat) for the code it compiles.

Alex
From: David Lowndes on
>Well, the IDE invokes the 64-bit compiler because you told it so by
>defining x64 platform configuration.

Perhaps I should have been a bit more specific by saying that I don't
know how the tool does that (under the hood). Presumably something in
selecting the configuration causes the IDE to use the 64-bit compiler
and tools, but I don't know the details - which is I suppose is good
in that it's just worked for me and I've never needed to find out :)

Dave
From: Tom Walker on
"David Lowndes" <DavidL(a)example.invalid> wrote in message
news:5mu3q5titqgv8lh1vto1g29jifn85etu4m(a)4ax.com...
> Perhaps I should have been a bit more specific by saying that I don't
> know how the tool does that (under the hood). Presumably something in
> selecting the configuration causes the IDE to use the 64-bit compiler
> and tools, but I don't know the details - which is I suppose is good
> in that it's just worked for me and I've never needed to find out :)

Visual Studio find the C++ compiler, linker, etc. by searching the path
specified in:
Tool | Options | Projects and Solutions | VC++ Directories | Executable
files

The different platforms (Win32, x64, etc. ) have different executable file
paths.


From: David Lowndes on
>> Perhaps I should have been a bit more specific by saying that I don't
>> know how the tool does that (under the hood). Presumably something in
>> selecting the configuration causes the IDE to use the 64-bit compiler
>> and tools, but I don't know the details - which is I suppose is good
>> in that it's just worked for me and I've never needed to find out :)
>
>Visual Studio find the C++ compiler, linker, etc. by searching the path
>specified in:
>Tool | Options | Projects and Solutions | VC++ Directories | Executable
>files
>
>The different platforms (Win32, x64, etc. ) have different executable file
>paths.

Doh, of course.

I probably only ever look there once or twice a year - in order to set
up special include paths.

Age related memory loss - eek! :(

Dave
From: Nobody on
"Ulrich Eckhardt" <eckhardt(a)satorlaser.com> wrote in message
news:9ii677-351.ln1(a)satorlaser.homedns.org...
> What VC are you using?

Ditto. Also, what edition? Express, Pro, etc.


First  |  Prev  | 
Pages: 1 2
Prev: Windows 7 Phone
Next: Locations of Delay loaded DLLs