How to build 64 bit app for AMD64

Hi,

I’m using VisualStudio.NET 2005 beta2
How can I build a 64 bit application for AMD64 ?

I select the linker option TagetMachine AMD64 (/MACHINE:AMD64) but I have
linker error

FATAL error LK1112: module machine type ‘X86’ conflicts with target machine
type ‘x86’

Thanks for help

QUANG

Hi,
I wouldnt suggest using Beta2 because it comes with a
expiration.
One fine Monday you’ll notice you are helpless, It was
also a monday for Beta1.

Its not difficult to use Platform SDK + Processor pack
and Visual studio 6.0 + service pack 5.0 for AMD64.

There’s plenty of information online. Remember to use
the “machine” flag and remove the /Gz. If it complains
about security cookie include the bufferoverflowu.lib.

— Quang Vu wrote:

> Hi,
>
> I’m using VisualStudio.NET 2005 beta2
> How can I build a 64 bit application for AMD64 ?
>
> I select the linker option TagetMachine AMD64
> (/MACHINE:AMD64) but I have
> linker error
>
> FATAL error LK1112: module machine type ‘X86’
> conflicts with target machine
> type ‘x86’
>
>
> Thanks for help
>
> QUANG
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>

____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs

Obviously you see the problem !

Use one of the template project from MSDN. IIRC, MSDN library has simple
project(s) that you can try. Then you can mimic building new project(s).

Also when you create project(s) there are options for what kind of ( i.e
x86, x64, ia64 ) that you can use to build it.

-pro

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Quang Vu
Sent: Wednesday, July 27, 2005 11:46 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to build 64 bit app for AMD64

Hi,

I’m using VisualStudio.NET 2005 beta2
How can I build a 64 bit application for AMD64 ?

I select the linker option TagetMachine AMD64 (/MACHINE:AMD64) but I
have
linker error

FATAL error LK1112: module machine type ‘X86’ conflicts with target
machine
type ‘x86’

Thanks for help

QUANG


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

You need to have the Latest Platform SDK for windows 2003 SP1 and open
the shell of windows 2003 64-bit build environment, and there you open
VS.Net 2005 like this…

(yourinstallpath)\devenv.exe /useenv

By doing this, Environment for AMD64 gets set…

Hope this helps,

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Quang Vu
Sent: Wednesday, July 27, 2005 11:46 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to build 64 bit app for AMD64

Hi,

I’m using VisualStudio.NET 2005 beta2
How can I build a 64 bit application for AMD64 ?

I select the linker option TagetMachine AMD64 (/MACHINE:AMD64) but I
have
linker error

FATAL error LK1112: module machine type ‘X86’ conflicts with target
machine
type ‘x86’

Thanks for help

QUANG


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag argument:
‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com