Build problems; Please help

Mike Stump mrs@windriver.com
Mon Jul 24 15:46:00 GMT 2000


> From: "Jagat Brahma" <jpbrahma@hotmail.com>
> To: gcc@gcc.gnu.org
> Date: Mon, 24 Jul 2000 20:23:39 GMT

>    I have been trying to build the latest egcs snapshot for
> *arm-wrs-vxworks* target on a
> *sparc-sun-solaris2.6* host. Somehow I am facing compilation errors(!!) that
> I have no
> clue how to solve.

I suspect you are trying to assemble arm instructions with a sparc
assembler.  You can confirm this by using -v.  If it finds as out of
the path, and if the as in your path is a sparc assembler, this would
account for the problems.

I normally put all the sources together to build, when one does this,
gcc find /gas/as[.-]new and uses it over as in the path.

If you get and install binutils with the same --prefix argument to the
compiler, before you compile up the compiler, I think it will also
work.


More information about the Gcc mailing list