Building gcc 2.95 on Solaris 2.6
John Riddoch
jr@air.scms.rgu.ac.uk
Thu Oct 21 03:10:00 GMT 1999
In comp.unix.solaris xinhuang@my-deja.com wrote:
> I am trying to build gcc 2.95.1 on a Solaris 2.6 (SC 4.2 on Ultra1)
> Because I am not superuser, I cannot install the binary from
> sunfreeware. And I don't have any old gcc installed on the system.
Have you tried asking your admin to install it for you?
> But I failed many times. So if you have any experience, please help!
> 1. Should I set CC to "/usr/ucb/cc", or "/opt/SUNWspro/bin/cc", or
> nothing?
/opt/SUNWspro/bin/cc
> 2. Should I use "/usr/bin/make" or "/usr/local/bin/gnumake"?
/usr/ccs/bin/make or /usr/local/bin/gnumake should both be fine.
> 3. Should I set any other env variables?
Unless there is something relevant in the install docs, no; you may
wish to consider some optimising flags to be set under CFLAGS (eg,
export CFLAGS='-O')
--
John Riddoch Email: jr@scms.rgu.ac.uk Telephone: (01224)262721
Room C6, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG
Windows: The first user interface where you click Start to turn it off.
More information about the Gcc-help
mailing list