how to call a compiler?

This is a discussion on how to call a compiler? within the C Programming forums, part of the General Programming Boards category; I have Microsoft's Visual C++ 6.0 installed on my computer. My computer uses Windows XP Professional service pack 2. I ...

  1. #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.

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    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.
    Hope is the first step on the road to disappointment.

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I have at least 5 C/C++ compilers installed (3 of which I use regularily).

    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, nort, etc.

  4. #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.

Popular pages Recent additions subscribe to a feed

Similar Threads

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

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