Forum Home
Press F1
 
Thread ID: 20763 2002-06-11 08:05:00 C++ Compilers Guest (0) Press F1
Post ID Timestamp Content User
53828 2002-06-11 08:05:00 Several months ago I bought a C++ for Dummies book which included a CD with a GNU C++ compiler on it. I've only just had the time to start on learning C++ and tried to install the free compiler. The problem is that I am runing Windows XP and the instructions for installing the compiler include making additions to the autoexec.bat file. My understanding of XP is that there is no autoexec.bat file. Does anyone have any suggestions or know of anywhere I could download a free C++ compiler? Guest (0)
53829 2002-06-11 08:36:00 If the changes to autoexec.bat were to add/change environment variables (SET=...) then there is a nicer way you can set them in XP (although I don't know how exactly because I don't use it).

You could also try the free (after filling in heaps of forms) borland compiler at:

www.borland.com

But you will still need to setup some environment variables.
Guest (0)
53830 2002-06-11 08:50:00 www-ist.massey.ac.nz

Heres a link to a very basic C/C++ compiler, no fancy features.......but it's small and efficient.......
Guest (0)
53831 2002-06-11 11:04:00 Is the compiler DJGPP?

You don't need an autoexec.bat. All it's doing is adding in PATHs.

All you have to do is open up system properties (WinKey + Pause/Break) or right click my computer and select properties. Choose Advanced, Environment Variables and edit the path for user or system depending on who you want to be using it. Just add the lines after the last entry making sure you seperate each entry with a ;

The locations you'll need to point to is the bin directory of the compiler and the include directory of the compiler and that should be it.

WinXP does have an autoexec.bat for backwards compatibility. XP should ask if it needs to add entries into it.
Guest (0)
53832 2002-06-16 03:10:00 That compiler *is* gcc. The entries it wants will be paths for include and library files. Guest (0)
1