C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-20-2005, 08:23 PM   #1
Registered User
 
Join Date: Nov 2005
Posts: 2
how to call a compiler?

I have Microsoft's Visual C++ 6.0 installed on my computer.
My computer uses Windows XP Professional service pack 2.

I have a copy of Borlands C++5 installation disk (and associated manual) but I haven't installed it. This is because
someone once told me that two C++ compilers couldn't be
installed on the same hard drive. ( I think that that person said that the reason for this was because the CPU wouldn't
really know which compiler to go to.)

Probably, a way around this is to partition my hard drive with
something like Partition Magic, or similar type software. But
I believe this is prone to 'crashes' - not because of the
software, but because I'm not really computer literate. I would probably do something wrong and crash the computer.

Is there a way that I can install Borland's compiler on the same hard drive that I have already installed Microsoft's
compiler?

Another source has told me that it is only a matter of making the
'appropriate call to the compiler'. But my abilities are limited to
basic programs. Some aid along these lines would be appreciated.
castlelight is offline   Reply With Quote
Old 11-20-2005, 09:03 PM   #2
+++ OK NO CARRIER
 
quzah's Avatar
 
Join Date: Oct 2001
Posts: 10,258
You can install as many as you like. You may have to fiddle with their path variables, if they even use such a thing any more, but there's no reason why you shouldn't be able to. Whoever told you that was just talking out of their ass.


Quzah.
__________________
Hundreds of thousands of dipshits can't be wrong.


Are you up for the suck?
quzah is offline   Reply With Quote
Old 11-21-2005, 11:55 AM   #3
Frequently Quite Prolix
 
dwks's Avatar
 
Join Date: Apr 2005
Location: Canada
Posts: 7,629
I have at least 5 C/C++ compilers installed (3 of which I use regularily).

Quote:
Another source has told me that it is only a matter of making the
'appropriate call to the compiler'. But my abilities are limited to
basic programs. Some aid along these lines would be appreciated.
To compile using MSVC, launch MSVC and compile from there. (Or use msc from DOS.) To compile using Borland, launch it (if it has a Windows IDE) and compile from there (or use bcc from DOS). It's quite simple, really.

The only thing you have to worry about is which IDE to use when launching a source file from Windows Explorer. You can add the other IDEs in the context (right-click) menu if you want.
__________________
dwk

Seek and ye shall find. quaere et invenies.

"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell


Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net

My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, etc.

New project: nort
dwks is offline   Reply With Quote
Old 11-22-2005, 11:28 AM   #4
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks

Thanks to you both, and especially dwks.
And that was fast too.
I think now I will just install Borland, and hopefully start
programming on both Borland and Microsoft.
castlelight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Though implementation problem Elysia C++ Programming 296 05-31-2008 01:02 PM
added start menu crashes game avgprogamerjoe Game Programming 6 08-29-2007 01:30 PM
C Compiler and stuff pal1ndr0me C Programming 10 07-21-2006 11:07 AM
Dev C++ Compiler, Indentation? Zeusbwr C++ Programming 3 10-21-2004 06:13 AM
lcc win32 compiler download problems GanglyLamb A Brief History of Cprogramming.com 5 08-01-2004 07:39 PM


All times are GMT -6. The time now is 09:51 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22