Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: Help : Problem by MS-C Complier on NT 3.5
       [not found] <3ihl5i$sma@hades.rz.uni-sb.de>
@ 1995-02-24 22:51 ` ouellette
  0 siblings, 0 replies; only message in thread
From: ouellette @ 1995-02-24 22:51 UTC (permalink / raw)



> 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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-02-24 22:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3ihl5i$sma@hades.rz.uni-sb.de>
1995-02-24 22:51 ` Help : Problem by MS-C Complier on NT 3.5 ouellette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox