compile - Questions

This is a discussion on compile - Questions ; where is the c compiler? what command do i use to invoke it?...

+ Reply to Thread
Results 1 to 3 of 3

Thread: compile

  1. compile

    where is the c compiler? what command do i use to invoke it?



  2. Re: compile

    Paul Ross wrote:

    > where is the c compiler? what command do i use to invoke it?


    On Unix-based systems the C compiler is called cc. It normally resides in
    /usr/bin. Most Linux distros come with the GNU Compiler Collection (GCC),
    which is a collection of compilers for several different languages such as
    C, C++, and Java just to name a few. To compile a C program using GCC the
    command is gcc; to compile a C++ program using GCC the command is g++.
    Both of these programs also reside in /usr/bin. For more information on
    GCC visit Gnu's website: http://www.gnu.org.
    --

    Best regards,
    --James Thayer

    Registered Linux user #342950

  3. Re: compile

    James Thayer wrote in message news:...
    > Paul Ross wrote:
    >
    > > where is the c compiler? what command do i use to invoke it?

    >
    > On Unix-based systems the C compiler is called cc. It normally resides in
    > /usr/bin. Most Linux distros come with the GNU Compiler Collection (GCC),
    > which is a collection of compilers for several different languages such as
    > C, C++, and Java just to name a few. To compile a C program using GCC the
    > command is gcc; to compile a C++ program using GCC the command is g++.
    > Both of these programs also reside in /usr/bin. For more information on
    > GCC visit Gnu's website: http://www.gnu.org.


    James has made some good points there, and has also indicated a new
    source for information (web sites). You'll probably find these more
    helpful to start with. Once you find something that isn't on a web
    site, then is a good time to ask in the newsgroups.

    Some other useful websites are:

    http://www.linux.se/doc/HOWTO/C++Pro...g-HOWTO-9.html
    http://www.gnu.org/software/gdb/gdb.html

+ Reply to Thread