public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc on Solaris 7
@ 2000-02-02 22:06 HUGO DE RELAND
  2000-02-06 19:03 ` Alexandre Oliva
  2000-04-01  0:00 ` HUGO DE RELAND
  0 siblings, 2 replies; 4+ messages in thread
From: HUGO DE RELAND @ 2000-02-02 22:06 UTC (permalink / raw)
  To: 'help-gcc@prep.ai.mit.edu'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1654 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-04-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-02 22:06 gcc on Solaris 7 HUGO DE RELAND
2000-02-06 19:03 ` Alexandre Oliva
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` HUGO DE RELAND

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).