public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: HUGO DE RELAND <hderelan@cuscal.com.au>
To: "'help-gcc@prep.ai.mit.edu'" <help-gcc@gnu.org>
Subject: gcc on Solaris 7
Date: Wed, 02 Feb 2000 22:06:00 -0000	[thread overview]
Message-ID: <50D0D6874CF8D111871100805FD4686602D3F9B2@nt2cs007.cuscal.COM.AU> (raw)

Hi,

I am trying to install gcc on Solaris 7 (fully patched)

I read in a few places that some environment variables need to be set for
configure   to work properly.

However, I cannot find what these vairables are exactly and what they need
to be set to.


Here is a quick overview of what is in the system 

/usr/admin/gcc-2.95.2  contain all of the gcc source

/usr/admin/gcc-obj  is the object directory 

and this is what I get:

	testswitch-syd0# PATH=$PATH:/usr/ucb
	
	testswitch-syd0# env
	HOME=/
	HZ=100
	LOGNAME=root
	
PATH=/usr/sbin:/usr/bin:/opt/SUNWlznb/man:/opt/lanman/man:/usr/admin/gcc-obj
:/usr/admin/gcc-2.95.2:/usr/ucb
	PS1=testswitch-syd0#
	SHELL=/sbin/sh
	TERM=ansi
	TZ=Australia/NSW
	
	testswitch-syd0# pwd
	/usr/admin/gcc-obj
	
	testswitch-syd0# /usr/admin/gcc-2.95.2/configure
	Configuring for a sparc-sun-solaris2.7 host.
	Created "Makefile" in /usr/admin/gcc-obj using "mh-frag"
	/usr/ucb/cc:  language optional software package not installed
	*** The command 'cc -o conftest -g   conftest.c' failed.
	*** You must set the environment variable CC to a working compiler.
	
	testswitch-syd0# echo $PATH
	
/usr/sbin:/usr/bin:/opt/SUNWlznb/man:/opt/lanman/man:/usr/admin/gcc-obj:/usr
/admin/gcc-2.95.2:/usr/ucb
	
	testswitch-syd0# ls -l /usr/ucb/cc
	-r-xr-xr-x   1 bin      bin         3487 Sep  1  1998 /usr/ucb/cc

Is this enough information?

Your help will be much appreciated.

Thank you

Regards

Hugo de Réland
Senior Planning & Development Analyst
Group Information Services
Credit Union Services
Level 4, 51 Druitt Street
Sydney NSW 2000
PH  :  61  (02) 9333 7640
FAX:  61  (02) 9333 7138
E-mail: hderelan@cuscal.com.au

WARNING: multiple messages have this Message-ID
From: HUGO DE RELAND <hderelan@cuscal.com.au>
To: "'help-gcc@prep.ai.mit.edu'" <help-gcc@gnu.org>
Subject: gcc on Solaris 7
Date: Sat, 01 Apr 2000 00:00:00 -0000	[thread overview]
Message-ID: <50D0D6874CF8D111871100805FD4686602D3F9B2@nt2cs007.cuscal.COM.AU> (raw)
Message-ID: <20000401000000.Wq7ZC3EFOKe193PpcPi5BOEEy_mtCegKm-Fb4QJfGlc@z> (raw)

Hi,

I am trying to install gcc on Solaris 7 (fully patched)

I read in a few places that some environment variables need to be set for
configure   to work properly.

However, I cannot find what these vairables are exactly and what they need
to be set to.


Here is a quick overview of what is in the system 

/usr/admin/gcc-2.95.2  contain all of the gcc source

/usr/admin/gcc-obj  is the object directory 

and this is what I get:

	testswitch-syd0# PATH=$PATH:/usr/ucb
	
	testswitch-syd0# env
	HOME=/
	HZ=100
	LOGNAME=root
	
PATH=/usr/sbin:/usr/bin:/opt/SUNWlznb/man:/opt/lanman/man:/usr/admin/gcc-obj
:/usr/admin/gcc-2.95.2:/usr/ucb
	PS1=testswitch-syd0#
	SHELL=/sbin/sh
	TERM=ansi
	TZ=Australia/NSW
	
	testswitch-syd0# pwd
	/usr/admin/gcc-obj
	
	testswitch-syd0# /usr/admin/gcc-2.95.2/configure
	Configuring for a sparc-sun-solaris2.7 host.
	Created "Makefile" in /usr/admin/gcc-obj using "mh-frag"
	/usr/ucb/cc:  language optional software package not installed
	*** The command 'cc -o conftest -g   conftest.c' failed.
	*** You must set the environment variable CC to a working compiler.
	
	testswitch-syd0# echo $PATH
	
/usr/sbin:/usr/bin:/opt/SUNWlznb/man:/opt/lanman/man:/usr/admin/gcc-obj:/usr
/admin/gcc-2.95.2:/usr/ucb
	
	testswitch-syd0# ls -l /usr/ucb/cc
	-r-xr-xr-x   1 bin      bin         3487 Sep  1  1998 /usr/ucb/cc

Is this enough information?

Your help will be much appreciated.

Thank you

Regards

Hugo de Réland
Senior Planning & Development Analyst
Group Information Services
Credit Union Services
Level 4, 51 Druitt Street
Sydney NSW 2000
PH  :  61  (02) 9333 7640
FAX:  61  (02) 9333 7138
E-mail: hderelan@cuscal.com.au

             reply	other threads:[~2000-02-02 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-02 22:06 HUGO DE RELAND [this message]
2000-02-06 19:03 ` Alexandre Oliva
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` HUGO DE RELAND

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D0D6874CF8D111871100805FD4686602D3F9B2@nt2cs007.cuscal.COM.AU \
    --to=hderelan@cuscal.com.au \
    --cc=help-gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).