From mboxrd@z Thu Jan 1 00:00:00 1970 From: HUGO DE RELAND To: "'help-gcc@prep.ai.mit.edu'" Subject: gcc on Solaris 7 Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <50D0D6874CF8D111871100805FD4686602D3F9B2@nt2cs007.cuscal.COM.AU> X-SW-Source: 2000-q1/msg00209.html Message-ID: <20000401000000.Wq7ZC3EFOKe193PpcPi5BOEEy_mtCegKm-Fb4QJfGlc@z> 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