AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
* Command-line C compiler for Alpha NT
@ 1995-12-12 12:58 Curt Vaughan
  0 siblings, 0 replies; 2+ messages in thread
From: Curt Vaughan @ 1995-12-12 12:58 UTC (permalink / raw)


Hello.

Does anyone know if a command-line interface exists for Microsoft's C++
compiler?  If not, does such a compiler exist (such as an alpha GCC)?

Curt Vaughan
University of Texas

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Command-line C compiler for Alpha NT
@ 1995-12-13  9:58 Gordon McNab
  0 siblings, 0 replies; 2+ messages in thread
From: Gordon McNab @ 1995-12-13  9:58 UTC (permalink / 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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-12-13  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-12-12 12:58 Command-line C compiler for Alpha NT Curt Vaughan
  -- strict thread matches above, loose matches on Subject: below --
1995-12-13  9:58 Gordon McNab

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