From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4edab61b9ba70573,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-02-24 14:51:13 PST Path: nntp.gmd.de!stern.fokus.gmd.de!gmdtub!cs.tu-berlin.de!fu-berlin.de!news.dfn.de!Germany.EU.net!howland.reston.ans.net!math.ohio-state.edu!caen!crl.dec.com!crl.dec.com!jac.zko.dec.com!usenet From: ouellette@zko.dec.com Newsgroups: comp.sys.dec Subject: Re: Help : Problem by MS-C Complier on NT 3.5 Message-ID: <3ilnt1$ese@jac.zko.dec.com> Date: 24 Feb 95 22:51:13 GMT References: <3ihl5i$sma@hades.rz.uni-sb.de> Organization: Digital Equipment Corporation NNTP-Posting-Host: c7nt5.zko.dec.com X-Newsreader: News for Windows NT X1.0-58 > I've upgraded NT 3.1 to 3.5 on my Alpha-PC (DECpc-axp150). > So when I complie my old c-programs, so I become a error > message : > program xxx.exe is not a valid NT application, > but old exe-files complied on NT 3.1 work well without > any problems. I don't change the source code and make file. > I use c-complier for Alpha-PC Ver. 8.00.9B from microsoft/ > digital equipment. The linker is Windows NT Linker Ver. 2.43 Between 3.1 and 3.5 we corrected some errors in the format section attributes used by the Alpha compiler. The linker gets confused when it sees both old and new objects, and can make bad executable files. The error you've quoted is one such symptom. I think it's possible that you are using more recent libraries and that those are confusing the linker (because the version of the compiler you have is producing old objects). The short answer to your problem is to get Visual C++ V2.0 for Alpha. It will solve your problem. The compiler you have was shipped in September 1993. It's quite old (obsolete). Subsequent compiler are much much better. Many bugs in the initial compiler got fixed. The code generated is also much smaller and faster. Debugging has also been improved. And with the Visual product you get a whole bunch of nice tools. Since Microsoft (with Digital's help) shipped Visual C++ V2.0 for Alpha, compilers are nolonger included with SDKs. [Sorry, this is Microsoft's descision, not ours. The change matches x86 and MIPS. The nice Visual tools do make up somewhat for the cost of the compiler, though.] Roland. ----------------------------------------- Roland G. Ouellette ouellette@zko.dec.com Alpha CL compiler person.