Results 1 to 4 of 4

Thread: Help

  1. #1
    Join Date
    Aug 2005
    Beans
    2

    Help on ubuntu compile command

    Hi all!!!
    I just installed ubuntu on my computer and I'd like help on the command to compile c source code on ubuntu.
    I tried using the same command as I used in mandrake(cc -o filename filename.c -lm) but ubuntu does not recognise it.

    Does it matter which editor one is using, cause I'm using gedit. Talking about editors could someone help me on how to get and install emacs on ubuntu.
    Thanks!!!!
    mczi
    Last edited by mczi; August 29th, 2005 at 11:21 PM.

  2. #2
    Join Date
    Jan 2005
    Location
    Illinois USA
    Beans
    1,047

    Re: Help

    Code:
    sudo apt-get install build-essential
    CloudRck.com - Host on CloudRck
    I sponsor open source projects and support users of such technologies. PM for details

  3. #3
    Join Date
    Jan 2005
    Location
    Adelaide, Australia
    Beans
    340

    Re: Help

    On Ubuntu, the easiest way to install programs is to use the Synaptic Package Manager, which is in the Administration submenu of the System menu at the top of your screen.

    In Synaptic, "mark" the build-essential and emacs21 packages for installation, then press the "Apply" button.

    The build-essential package will install the compiler and a few other goodies you will want. Unfortunately it doesn't install much documentation; depending on what you're doing you may want to install packages like gcc-doc, glibc-doc, emacs-lisp-intro, etc.

    By the way: next time you post, please try to set a more useful title; it will help the next person who comes along with the same problem.

  4. #4
    Join Date
    Sep 2005
    Location
    UK - Matrix
    Beans
    26
    Distro
    Ubuntu Development Release

    Re: Help

    Thank you that has Helped me

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •