From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199512130958.KAA26932@vbormc.vbo.dec.com> Date: Wed, 13 Dec 95 10:58:49 MET From: Gordon McNab Subject: RE: Command-line C compiler for Alpha NT Curt, When Visual C++ installs it creates all the environment variables to allow you to compile from the command line. The env vars are stored in the following file for reference: D:\msvc20\bin>type vcvars32.bat @echo off set PATH=V:\MSVC20\BIN;D:\MSVC20\BIN;%PATH% set INCLUDE=V:\MSVC20\INCLUDE;V:\MSVC20\MFC\INCLUDE;%INCLUDE% set LIB=V:\MSVC20\LIB;V:\MSVC20\MFC\LIB;%LIB% Here's an example of command line compiling: Y:\>nmake Microsoft (R) Program Maintenance Utility Version 1.60.5270 Copyright (c) Microsoft Corp 1988-1995. All rights reserved. cl -c -W3 -Dtry=__try -Dexcept=__except -Dleave=__leave -Dfinally=__fina lly -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_ALPHA_=1 -DWINVER=0x0400 -DWIN32 -D_WIN32 shutdown.c shutdown.c link /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO -subsystem :console,4.0 -entry:mainCRTStartup -out:shutdown.exe shutdown.ob advapi32.lib user32.lib libc.lib oldnames.lib kernel32.lib advapi32.lib Gordon Gordon McNab, Digital Equipment, Scotland Ltd. Just freindly advice: Digital have no control over my spelling or opinions.