The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Operating Systems
> UNIX Help
|
gcc and GNU make
Discuss gcc and GNU make in the UNIX Help forum on Dev Shed. gcc and GNU make UNIX Help forum discussing the Unix Operating System and all variants including Irix, Solarix, and AIX. Unix was designed as a true multi-user operating system.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

March 17th, 2003, 05:30 PM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation 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?
|

March 17th, 2003, 11:56 PM
|
|
Got source?
|
|
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,331

Time spent in forums: < 1 sec
Reputation Power: 13
|
|
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.
|

March 18th, 2003, 08:36 AM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
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 ~]%
|

March 18th, 2003, 01:54 PM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
gcc: not found
make: not found
gmake: not found
I'll have to download them.
|

March 18th, 2003, 02:25 PM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
What is the esiest way to download and install these programs?
Can anyone help me? Please.
|

March 18th, 2003, 03:12 PM
|
|
Contributing User
|
|
Join Date: Dec 2001
Location: Houston, TX
Posts: 383
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 12
|
|
Quote: 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.
|

March 18th, 2003, 10:14 PM
|
|
Got source?
|
|
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,331

Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|

March 20th, 2003, 09:26 AM
|
|
Junior Member
|
|
Join Date: Mar 2003
Posts: 4
Time spent in forums: < 1 sec
Reputation 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: - gunzip gcc-3.2.2.tar.gz
- tar xvf gcc-3.2.2.tar
- cd gcc-3.2.2.
Now I am reading the configuration instructions URL but I am just not getting it.
Quote: | This document describes the recommended configuration procedure for both native and cross targets. |
What is meant by native and cross targets?
Quote: | 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?
Quote: | 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?
|

March 20th, 2003, 07:01 PM
|
|
Got source?
|
|
Join Date: Mar 2003
Location: Laguna Niguel, California, USA
Posts: 2,331

Time spent in forums: < 1 sec
Reputation Power: 13
|
|
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 
|

July 17th, 2003, 04:17 AM
|
|
Junior Member
|
|
Join Date: Jul 2003
Location: India
Posts: 5
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
Quote: 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
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|