an egcs-1.1b cross compiler targetting alpha

Sangyeun Cho sycho@cs.umn.edu
Sat Oct 3 14:36:00 GMT 1998


Dear egcs users,
i've been trying to build the egcs-1.1b cross-compiler targetting alphaev6
plus binutils on a linux machine with P6 processors.
i've built binutils (ar, as, ld, ...) first and now am compiling gcc.
the problem arises when libgcc2.a is built. the message i get is

...
_divdi3
/tmp/ccYy2lC5.s: Assembler messages:
/tmp/ccYy2lC5.s:420: Error: macro requires $at register while noat in effect
/tmp/ccYy2lC5.s:530: Error: macro requires $at register while noat in effect
/tmp/ccYy2lC5.s:706: Error: macro requires $at register while noat in effect
make: *** [libgcc2.a] Error 1
$

To gain more insight, i compiled a sample program from CINT95 benchmark
using the compiler and generated the alpha assembly file. Then when i assemble it,
the assembler didn't understand itof* and ftoi* instructions.  Apparently
the assembler is problematic.

i used "--target=alphaev6-dec-osf1" when building this alphaev6-dec-osf1-as
version 2.9.1.

Does anybody know any good solution to this ?
If so, please reply me at sycho@cs.umn.edu.

thanks,
--
 Sangyeun Cho
 Dept. of Computer Science and Engineering	       sycho@cs.umn.edu
 University of Minnesota                   http://www.cs.umn.edu/~sycho




More information about the Gcc mailing list