|
|
|
Downloading a g++ Compiler
WIndows
Here are Prof. Carl Sturtivant's instructions
for downloading a Linux system to a Windows computer. A
successful download will permit you to execute g++ programs.
**** Note: The
instructions for installing the Cygwin compiler need to be updated to
reflect the latest version of Cygwin. There are no X11 files to
install anymore. When you get to that place
in the online instructions, instead of X11 files you should be able to
select gcc, g++, emacs, and nano (an editor like pico). If the
installation succeeds there will be an icon for Cygwin on your
desktop that opens a Unix window. Things should work as in the
2-120
lab except that the default executable is named a.exe instead of a.out
and you may need to use ./a.exe
to execute it. Also, if emacs doesn't
work try xemacs. *****
The Bloodshed system (http://www.bloodshed.net/devcpp.html)
has also been recommend by several students.
Macintosh
If you have a Macintosh, g++ can be made
available by installing the Xcode system that is on the CD-ROM that
comes with the computer. To run the program use
% ./a.out
where % represents the UNIX prompt.
|
|