|
| |
Environment Variables for Visual Studio V6
This procedure is for computers that are not simultaneously hosting Cygwin
and Microsoft Visual Studio. Only use this procedure if the Cygwin Java/C++
development environment is not going to be installed.
- Update
environment variables with these values.
This information comes from the file VCVARS32.bat. It sets a bunch of
environment variables. Since I don't want to run this batch procedure every
time I start the computer, we will enter them in manually once here.
Of course, you might have to adjust this if you have installed on a
different directory. Notice the bolded "WINNT". This must be
changed to WIN95 if the operating system is not Win2000 and not Windows NT.
Very important: Don't delete any existing entries in the PATH, INCLUDE or
LIB variables (or you will be very sorry). If they don't exist, you will
have to create them with the new button. In most cases you will just append
them on the end and separate each entry with a semicolon (";").
| PATH |
C:\PROGRA~1\MICROS~4\Common\msdev98\BIN;C:\PROGRA~1\MICROS~4\VC98\BIN;C:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT;C:\PROGRA~1\MICROS~4\Common\TOOLS |
| INCLUDE |
C:\PROGRA~1\MICROS~4\VC98\ATL\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\INCLUDE;C:\PROGRA~1\MICROS~4\VC98\MFC\INCLUDE |
| LIB |
C:\PROGRA~1\MICROS~4\VC98\LIB;C:\PROGRA~1\MICROS~4\VC98\MFC\LIB |
Additional symbols for my OS independent makefiles. Notice the "rm"
for delete. This is for compatibility with the bash (unix-like) shell I run
inside emacs. I recommend the emacs/bash combination on WinNT. However,
students who want to manually run make should use "del" instead of
"rm".
Note the "cl" below is two letters.
Note the use of the
tilde characters. These must be determined by trial and error.
| CPP_COMMONFLAGS |
|
| CPP_COMPILE |
cl |
| CPP_COMPILEFLAGS |
/c /nologo /MLd /W3 /Gm /GX /GR /ZI /Od /D "WIN32" /D
"_DEBUG" /D "_CONSOLE" /D "_MBCS" /FD /GZ
/D "NOPROMPT" |
| CPP_LINKFLAGS |
/link "/subsystem:console /incremental:yes /debug" |
| CPP_CURRENTDIR |
".\\" |
| CPP_LINK |
cl |
| CPP_OBJ |
.obj |
| CPP_EXE |
.exe |
| CPP_CPP |
.cpp |
| CPP_HEADER |
.h |
| CPP_DELETE |
rm |
Some additional ones for java
are
| MAKE |
c:\progra~1\micros~4\vc98\bin\nmake.exe |
| JDK |
C:\JDK1.3 |
Notice the ~4. This is arrived at by trial and error. The full name is
C:\Program files\Microsoft Visual Studio\Vc98\Bin\NMAKE.exe however this
does not work because there are spaces in the file name. So instead you must
type in "Dir c:\progra~1\micros~1" to see if that is a directory
with Vc98 in it. It does not. Then try "Dir c:\Progra~1\micros~2"
and see if this one has a VC98 directory in it. It does not... See
the explanation of this tilde notion for more information.
- Install Visual J++
- Use the start button, select setup and Add/Remove programs. Click
on CD or Floppy.
- Specify D:\US\VS60EE\VJ60\SETUP.EXE
(assuming drive D is the CDROM/DVD drive).
- Scroll thru the first portion of the readme file. On this one it
warns about installing on top of prevoius installation. Take
appropriate action (like removing the previous installation before
proceeding).
- Accept the EULA agreement.
- It asks what we want to install. Take the default of Visual J++ 6
(or a later version, of course).
- Install Visual J++ 6. Click next.
- Click continue.
- Write down the product ID.
- Use the default folder of c:\program
files\Microsoft Visual Studio\VJ98 unless we have a
multiply partitioned system in which case select some other
partition.
- Select custom
- Microsoft Visual J++
- MSVJ++ core files (yes -- default)
- Java Class library source code (always -- its only
1K)
- Project templates (yes -- default)
- Self-installing EXE redistributable files (yes,
default)
- Data Access (see the options
for Visual Studio)
- Graphics (select all if we have gobs of disk space.
I'm not likely to use it -- but it might be nice to play
with it and know its available).
- Professional Tools (yes -- all)
- Tools (yes - all) time = 14:55
- Restart windows again. time = 14:59.
- After rebooting It will want to install MSDN, Cancel it.
- Now install server applications by running the same setup
program we ran previously to install VJ++. Click default of
Visual j++ which includes
- MS Data Access Components
- Remote machine debugging
- Front Page Server Extensions
- Posting Acceptor (2.0)
- Visual J++ Server
- Install MSDN. These DVD disks come about every three months, be sure
to get the latest one. For some strange reason, it comes in a separate
little opaque black case instead of a regular jewel case for CDs. If you
are installing from CD's, the MSDN come in a jewel case that holds 3 or
4 disks.
- For MSDN library setup, select FULL for notebook computers that
have a lot of space so we don't have to have the disks with us. For
others, click Typical.
- Sure, put a short cut. Now it will take while.
Install the Soap Toolkit for Visual Studio 6 at http://msdn.microsoft.com/net/default.asp#aspplus
downloading directly from SOAP
Toolkit for Visual Studio 6.0 .
Install ActiveX Control Pad.
Back to Win2000
Installation.
|