#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    4
    Rep Power
    0

    gcc and GNU make


    OS: Solaris 8

    Trying to install PHP and MySQL

    I am told that I need the following tools installed on my system.

    Perl (preferably the newest version)
    gzip or gunzip
    gcc and GNU make

    I know that Perl is installed and I know that gunzip is installed.

    Now how do I find out if I have gcc and GNU make installed??

    If I don't, what are the steps I need to take to get them installed?
  2. #2
  3. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
    GCC
    GNU I use Linux, which is a variant of GNU, so I'm not sure how to check to see if you have it. Good luck!
    Last edited by mttatkns; March 18th, 2003 at 12:00 AM.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    383
    Rep Power
    13
    Type "gcc", see if it works

    And "make --version" to see if you have GNU make (if the "make" you have isn't GNU make, try "gmake"):

    Code:
    [ddipaolo@quinn ~]% make --version
    GNU Make 3.80
    Copyright (C) 2002  Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
    PARTICULAR PURPOSE.
    [ddipaolo@quinn ~]%
    Debian - because life's too short for worrying.
    Best. (Python.) IRC bot. ever.
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    4
    Rep Power
    0
    gcc: not found
    make: not found
    gmake: not found

    I'll have to download them.
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    4
    Rep Power
    0
    What is the esiest way to download and install these programs?

    Can anyone help me? Please.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    383
    Rep Power
    13
    Originally posted by Dirt_Diga
    What is the esiest way to download and install these programs?

    Can anyone help me? Please.
    Um, look a few posts up.
    Debian - because life's too short for worrying.
    Best. (Python.) IRC bot. ever.
  12. #7
  13. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
  14. #8
  15. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Posts
    4
    Rep Power
    0

    Configuration instructions have me confused


    This is my first time doing anything like this...configuring and building a GNU software. I'd really appreciate if someone could help me out with this.

    After downloading the file 'gcc-3.2.2.tar.gz', these are the steps I have completed so far:
    [list=1][*]gunzip gcc-3.2.2.tar.gz[*]tar xvf gcc-3.2.2.tar[*]cd gcc-3.2.2.[/list=1]

    Now I am reading the configuration instructions http://gcc.gnu.org/install/configure.html but I am just not getting it.

    This document describes the recommended configuration procedure for both native and cross targets.
    What is meant by native and cross targets?

    We use srcdir to refer to the toplevel source directory for GCC; we use objdir to refer to the toplevel build/object directory.
    What do they mean by toplevel source directory and toplevel build/object directory?

    If you obtained the sources via CVS, srcdir must refer to the top gcc directory, the one where the MAINTAINERS can be found, and not its gcc subdirectory, otherwise the build will fail.
    What is CVS?
  16. #9
  17. No Profile Picture
    Got source?
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2003
    Location
    Laguna Niguel, California, USA
    Posts
    2,331
    Rep Power
    14
    http://www.cvshome.org/
    whenever you find a term you don't understand/havent heard of, just try searching google for it, and most times, you'll get what you're looking for near the top
  18. #10
  19. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    India
    Posts
    5
    Rep Power
    0
    Originally posted by Dirt_Diga
    What is the esiest way to download and install these programs?

    Can anyone help me? Please.

    Visit this site, U will find GCC installable for Solaris.

    http://www.ibiblio.org/pub/packages/solaris/sparc/

    Just download & install this package. No need to compile and build the GCC compiler.

    Cheers
    Karthik

IMN logo majestic logo threadwatch logo seochat tools logo