Compile error Solaris

Nick Clifton nickc@redhat.com
Tue Feb 4 09:44:00 GMT 2003


Hi David,

> I am having troubles building binutils on Sun Sparc Solaris 2.8.  I've
> configured with:
> 
> ./configure --prefix=/home/cs/csugrads/dvanhorn/local
> 
> But make errors out with this:
> 
> gcc -c -g -O2 -I. -I./../include -DHAVE_SYSCONF ./dummy.c 2>/dev/null
> *** Error code 1
> make: Fatal error: Command failed for target `dummy.o'
 
> Any ideas?  In general, is there a way to get more information?

Try adding -v to the command line.  This should show you which program
(ccp, cc1, as) is crashing.

Check which version of gcc you are using - maybe it is an old one and
you can upgrade.  Also check which version of the sources you are
compiling.  If they are not the latest you may encounter (already
solved) problems.

Cheers
        Nick



More information about the Binutils mailing list