Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18
Hi I have no idea how to install the gcc compiler on my distr. of Xandros. I have the tarball from the GNU site but i dont know what to ...
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    9

    GCC installation help

    Hi

    I have no idea how to install the gcc compiler on my distr. of Xandros. I have the tarball from the GNU site but i dont know what to do with it. Help pls.

    Riaz

  2. #2
    Just Joined!
    Join Date
    Apr 2005
    Location
    Atlanta
    Posts
    55

    Re:

    Since you have downloaded the tarball, you will need to unpack it, and install it. The tarball can either be in bzip2 or gzip format.

    If your file is gzipped ( package_name.tar.gz )
    Open a terminal, cd to the directory of the tarball and type:

    tar -zxvf <package_name>

    Or, if your tarball is bzipped ( package_name.tar.bz2 )

    Pass the option j instead of z

    tar -jxvf <package_name>

    Now your package is ready to roll.

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    9

    File usage??

    Hi

    Thanks Dan for the unzip help, but i already knew that part. What i'm struggling to do is INSTALL the gcc compiler. What do i do with the files i've unpacked? There arent any 'installer' type files like in windows. Help please!

    Thanks

  4. #4
    Linux Engineer rong's Avatar
    Join Date
    Feb 2005
    Location
    California
    Posts
    803

    Re: File usage??

    Quote Originally Posted by riaztheman
    Hi

    Thanks Dan for the unzip help, but i already knew that part. What i'm struggling to do is INSTALL the gcc compiler. What do i do with the files i've unpacked? There arent any 'installer' type files like in windows. Help please!

    Thanks
    Code:
     ./configure
    make
    make install
    registered Linux user #388382

    Have you checked here first?

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    9

    What the heck???

    Hi Rong

    I have no idea what u mean with that piece of code. ./cofigure doesnt do anything in a terminal window. 'make' says it has no target even when i type 'make install'. I need in depth help pls. What do i do with the gcc files i've unpacked? Thanks

  6. #6
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    cd into the directory where you unpacked the files, not all have a configure file, so post the output for us with "ls -a" and we'll get you on the right track
    Operating System: GNU Emacs

  7. #7
    Just Joined!
    Join Date
    May 2005
    Posts
    9

    Output is...

    Hi guys

    i cd into the folder (called gcc) then the output from ls -a says
    ". .. gcc libstdc++-v3". What next?

    Thanks

  8. #8
    Just Joined!
    Join Date
    May 2005
    Posts
    9

    Hello out there!

    Any linux gurus got time to help me here? I'v been waiting a long time now. Some huys have started helping me but they've disappeared. Help please!

  9. #9
    Just Joined!
    Join Date
    Sep 2004
    Posts
    54
    Xandros is Debian-based so why don't you just use apt to install the package?

    apt-get install gcc


    since you already downloaded and untarred the source...
    you have
    . .. gcc libstdc++-v3
    in this directory, what you need to do next is:
    cd gcc
    ./configure
    make
    make install


    then do the same thing in libstdc++-v3
    report here if you have any problems

  10. #10
    Just Joined!
    Join Date
    Oct 2004
    Location
    Albuquerque New Mexico USA
    Posts
    5

    Re: Hello out there!

    Quote Originally Posted by riaztheman
    Any linux gurus got time to help me here? I'v been waiting a long time now. Some huys have started helping me but they've disappeared. Help please!
    Use Xandros Networks.

    In the seach bar type gcc. One of the search results will be c/c++ development tools. Install that and that will in turn install gcc..

Page 1 of 2 1 2 LastLast

Posting Permissions

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