AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
From: Gordon McNab <gordon@ayjen1.enet.dec.com>
Subject: RE: Command-line C compiler for Alpha NT
Date: Wed, 13 Dec 95 10:58:49 MET	[thread overview]
Message-ID: <199512130958.KAA26932@vbormc.vbo.dec.com> (raw)

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.

<disclaimer>Just freindly advice: Digital have no control over my 
spelling or opinions.</disclaimer>

             reply	other threads:[~1995-12-13  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-13  9:58 Gordon McNab [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-12-12 12:58 Command-line C compiler for Alpha NT Curt Vaughan
read-only archive

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