CrazyEngineers
  • How to compile with GNU compiler on UNIX system.

    sushant005

    sushant005

    @sushant005-tyt4WK
    Updated: Oct 22, 2024
    Views: 1.1K
    I an using Ubuntu 10.04 as my OS and i installed GNU C++ compiler wants to know that what is the command to compile C++ program on UNIX system?
    Is there any necessary software required to run C++ program?
    Help me out !!
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Aashish Joshi

    MemberAug 11, 2010

    you might wanna go through the following links:

    <a href="https://ubuntuforums.org/archive/index.php/t-401823.html" target="_blank" rel="nofollow noopener noreferrer">ubuntuforums.org</a>

    #-Link-Snipped-#

    You'll need to install gcc/g++. Open the synaptic package manager and search for the appropriate package and install it. You will of course need internet connection.

    [EDIT]

    On the other hand, open the terminal window and run the following command. This should be all you need:

    sudo apt-get install build-essential
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register