Installing gcc on solaris 10

Advertisement

Installing gcc on solaris 10
hi,
i have a problem when trying to install gcc on solaris 10.
my path:
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/sfw/lib:/usr/sfw/libexec
# gcc test.c
gcc: installation problem, cannot exec `as': No such file or directory
i don't know what the problem is, please help
thks
Repaly
i have a problem when trying to install gcc on solaris 10.Solaris 10's bundled gcc in /usr/sfw/bin/gcc?
my path:
PATH=/usr/sbin:/usr/bin:/usr/sfw/bin:/usr/sfw/lib:/usr/sfw/libexec/usr/sfw/lib and /usr/sfw/libexec can probably be deleted from
$PATH, the executables are in /usr/sfw/bin.
# gcc test.c
gcc: installation problem, cannot exec `as': No such
file or directory/usr/sfw/bin/gcc needs the GNU assembler, and it should be
install as /usr/sfw/bin/gas. Do you have the Solaris 10 package
SUNWbinutils installed?
% pkgchk -l -p /usr/sfw/bin/gas
Pathname: /usr/sfw/bin/gas
Type: regular file
Expected mode: 0555
Expected owner: root
Expected group: bin
Expected file size (bytes): 613844
Expected sum(1) of contents: 49903
Expected last modification: Jan 23 02:53:41 2005
Referenced by the following packages:
SUNWbinutils
Current status: installed
Read More: The other 3 answers