Linux EeePC Compiler

Discussion in 'Software' started by liquid_gen, 27 Dec 2007.

  1. liquid_gen

    liquid_gen What's a Dremel?

    Joined:
    12 Feb 2006
    Posts:
    287
    Likes Received:
    0
    Does the EeePC version of Linux come with gcc or some other compiler and if so how do i use it? If not how can i install one (preferably gcc)?
    Thanks
     
  2. Fophillips

    Fophillips What's a Dremel?

    Joined:
    9 Oct 2006
    Posts:
    948
    Likes Received:
    1
    Well it uses Xandros which is based on Debian, so I am sure you can use Apt to get it.
     
  3. DougEdey

    DougEdey I pwn all your storage

    Joined:
    5 Jul 2005
    Posts:
    13,933
    Likes Received:
    33
  4. liquid_gen

    liquid_gen What's a Dremel?

    Joined:
    12 Feb 2006
    Posts:
    287
    Likes Received:
    0
    What command would i need to type in the terminal to get it to install?
     
  5. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    if apt is installed, "apt-get install gcc"
     
  6. steveo_mcg

    steveo_mcg What's a Dremel?

    Joined:
    26 May 2005
    Posts:
    5,841
    Likes Received:
    80
    probably apt-get install build-essentials
     
  7. liquid_gen

    liquid_gen What's a Dremel?

    Joined:
    12 Feb 2006
    Posts:
    287
    Likes Received:
    0
    Glider, when i used that command it gave me the following error message:
    "Package gcc is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or is only availabe from another source
    E: Package gcc has no installation candidate"
    What should i do?
     
  8. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    That's because debian has a fancy naming for gcc...

    Try what steveo said, it'll install an entire compile environment
     
  9. liquid_gen

    liquid_gen What's a Dremel?

    Joined:
    12 Feb 2006
    Posts:
    287
    Likes Received:
    0
    Also produced an error:
    "E: Couldn't find package build-essentials"
    :S
     
  10. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    I checked, it's called "build-essential"

    so: apt-get install build-essential
     
  11. Fophillips

    Fophillips What's a Dremel?

    Joined:
    9 Oct 2006
    Posts:
    948
    Likes Received:
    1
    In future you could do apt-cache search gcc to find where it is.
     
  12. liquid_gen

    liquid_gen What's a Dremel?

    Joined:
    12 Feb 2006
    Posts:
    287
    Likes Received:
    0
    It's giving me the same error:wallbash:
     
  13. Glider

    Glider /dev/null

    Joined:
    2 Aug 2005
    Posts:
    4,173
    Likes Received:
    21
    Code:
    apt-get update && apt-get install build-essential
     
  14. specofdust

    specofdust Banned

    Joined:
    26 Feb 2005
    Posts:
    9,571
    Likes Received:
    168
    Might be a lack of decent repositories. Check the Eee wiki to find out how to add some extra xandros ones, and to learn how to add debian ones and pin them so that you don't break too much stuff.
     
  15. Fophillips

    Fophillips What's a Dremel?

    Joined:
    9 Oct 2006
    Posts:
    948
    Likes Received:
    1
  16. jjjonasP

    jjjonasP What's a Dremel?

    Joined:
    1 Feb 2008
    Posts:
    1
    Likes Received:
    0
    did it for me! thanks!
     
Tags:

Share This Page