sh4-cross-compiling-gcc-3.0.2 build fails during assembly

Rupert Wood me@rupey.net
Tue Jan 15 02:13:00 GMT 2002


Steven Mueller wrote:

> A quick search on Google indicates these types of errors are pretty
> common for a mismatching assembler architecture...

In your script:

| (
| ln -s sh4el-hardhat-linux  sh4-linux
| cd bin
| ln -s sh_sh4_le-ar sh4-linux-ar
| ln -s sh_sh4_le-ld sh4-linux-ld
| ln -s sh_sh4_le-nm sh4-linux-nm
| ln -s sh_sh4_le-ranlib sh4-linux-ranlib
| ln -s sh_sh4_le-strip sh4-linux-strip
| )

you don't appear to set up sh4-linux-as. The new GCC, therefore, might
be using the host assembler.

You could try repeating the failing compile manually, adding '-v' to
check which assembler is being used.

Rup.



More information about the Gcc-help mailing list