Re: IA64 Build of program results in "application cannot be run in
- From: "Ivan Brugiolo [MSFT]" <Ivan.Brugiolo@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Dec 2005 09:21:03 -0800
There's too little. Try something more complete
TARGETNAME=test
TARGETPATH=$(0)
TARGETTYPE=PROGRAM
TARGETLIBS=\
$(SDK_LIB_PATH)\kernel32.lib
_NT_TARGET_VERSION = $(_NT_TARGET_VERSION_WINXP)
USE_MSVCRT=1
USE_NATIVE_EH=1
USE_STL=1
STL_VER=70
UMENTRY=wmain
UMTYPE=console
#USE_NTDLL=1
INCLUDES=\
$(DDK_INC_PATH);
SOURCES=\
test.cpp
--
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"Daniel" <Daniel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:56915A93-FD9B-4B85-97FC-9CAE47B6E62D@xxxxxxxxxxxxxxxx
> file contains:
> ----
> TARGETNAME=TEST
> TARGETTYPE=PROGRAM
> TARGETPATH=obj$(BUILD_ALT_DIR)
> SOURCES=test.cpp
> TARGETPATHLIB=$(SDK_LIB_DEST)
> ----
>
> "Ivan Brugiolo [MSFT]" wrote:
>
>> Can you post your `sources` file ?
>>
>> --
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> Use of any included script samples are subject to the terms specified at
>> http://www.microsoft.com/info/cpyright.htm
>>
>>
>> "Daniel" <Daniel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:116038B0-604A-4A51-AC68-0DC5DA4DB17D@xxxxxxxxxxxxxxxx
>> > Hi Ivan,
>> >
>> > Ehhh, no.... just want to write an console app.
>> > What am I missing here?
>> >
>> > "Ivan Brugiolo [MSFT]" wrote:
>> >
>> >> Looks like you are creating an application for the Native Subsystem.
>> >> Those normally can only be run from smss.exe.
>> >> Is this intentional and expected ?
>> >>
>> >> --
>> >> --
>> >> This posting is provided "AS IS" with no warranties, and confers no
>> >> rights.
>> >> Use of any included script samples are subject to the terms specified
>> >> at
>> >> http://www.microsoft.com/info/cpyright.htm
>> >>
>> >>
>> >> "Daniel" <Daniel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:5738A003-3059-4223-970F-8468C98B4875@xxxxxxxxxxxxxxxx
>> >> > Hi Tim,
>> >> > Thanks for responding.
>> >> > Yes it is .... extract from msinfo32
>> >> >
>> >> > OS Name Microsoft(R) Windows(R) Server 2003, Datacenter Edition
>> >> > Version 5.2.3790 Build 3790
>> >> > OS Manufacturer Microsoft Corporation
>> >> > System Manufacturer hp
>> >> > System Model workstation zx2000
>> >> > System Type Itanium (TM) -based System
>> >> > Processor ia64 Family 31 Model 0 Stepping 6 GenuineIntel ~1000 Mhz
>> >> > BIOS Version/Date HP 02.31, 3/11/2004
>> >> > SMBIOS Version 2.3
>> >> > Windows Directory C:\windows
>> >> > System Directory C:\windows\system32
>> >> > Boot Device \Device\HarddiskVolume4
>> >> > Locale United States
>> >> > Hardware Abstraction Layer Version = "5.2.3790.73
>> >> > (srv03_qfe.030614-1407)"
>> >> > User Name Not Available
>> >> > Time Zone Romance Standard Time
>> >> > Total Physical Memory 2,048.00 MB
>> >> > Available Physical Memory 1.31 GB
>> >> > Total Virtual Memory 5.84 GB
>> >> > Available Virtual Memory 4.71 GB
>> >> > Page File Space 3.85 GB
>> >> > Page File C:\pagefile.sys
>> >> >
>> >> > "Tim Roberts" wrote:
>> >> >
>> >> >> Daniel <Daniel@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>> >> >> >
>> >> >> >I'm trying to build an IA64 program using the IA64 DDK build
>> >> >> >enviroment.
>> >> >> >After an succesful build I get an "application cannot be run in
>> >> >> >Win32"
>> >> >> >error
>> >> >> >while trying to execute this program on a Itanium 2 machine.
>> >> >>
>> >> >> Are you running the Itanium edition of Windows Server 2003? 64-bit
>> >> >> apps
>> >> >> only run on a 64-bit operating system.
>> >> >> --
>> >> >> - Tim Roberts, timr@xxxxxxxxx
>> >> >> Providenza & Boekelheide, Inc.
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>
.
- Follow-Ups:
- Re: IA64 Build of program results in "application cannot be run in
- From: Maxim S. Shatskih
- Re: IA64 Build of program results in "application cannot be run in
- References:
- IA64 Build of program results in "application cannot be run in Win
- From: Daniel
- Re: IA64 Build of program results in "application cannot be run in Win
- From: Tim Roberts
- Re: IA64 Build of program results in "application cannot be run in
- From: Ivan Brugiolo [MSFT]
- Re: IA64 Build of program results in "application cannot be run in
- From: Ivan Brugiolo [MSFT]
- Re: IA64 Build of program results in "application cannot be run in
- From: Daniel
- IA64 Build of program results in "application cannot be run in Win
- Prev by Date: Re: CM_Get_DevNode_Registry_Property & SetupDiGetDeviceRegistryPro
- Next by Date: Re: Need to Sleep ?
- Previous by thread: Re: IA64 Build of program results in "application cannot be run in
- Next by thread: Re: IA64 Build of program results in "application cannot be run in
- Index(es):
Relevant Pages
|
|