GCC Cross Compiler Query: please help

mani@cae.wisc.edu mani@cae.wisc.edu
Fri Nov 7 17:29:00 GMT 2003


Hello,

After building the binutils-2.5.2 library, I configured the cross-compiler 
version gcc-2.6.3 successfully. 

When I 'make install' the gcc-2.6.3 version cross compiler on sparc-sun-
sunos5.8 system I get the following error message:
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -DSVR4  -g   -I./include -c dummy.c
as: option `-g' is ambiguous
make: *** [libgcc1.null] Error 1

When I remove the '-g' option I get the following assembler messages:
./xgcc -B./ -DCROSS_COMPILE -DIN_GCC -DSVR4  -I./include -c dummy.c
/var/tmp/ccoyaiBE.s: Assembler messages:
/var/tmp/ccoyaiBE.s:20: Error: unknown pseudo-op: `.ent'
/var/tmp/ccoyaiBE.s:22: Error: unknown pseudo-op: `.frame'
/var/tmp/ccoyaiBE.s:23: Error: unknown pseudo-op: `.mask'
/var/tmp/ccoyaiBE.s:24: Error: unknown pseudo-op: `.fmask'
/var/tmp/ccoyaiBE.s:25: Error: Unknown opcode: `subu'
/var/tmp/ccoyaiBE.s:26: Error: Unknown opcode: `sw'
/var/tmp/ccoyaiBE.s:27: Error: Illegal operands
/var/tmp/ccoyaiBE.s:29: Error: Illegal operands
/var/tmp/ccoyaiBE.s:30: Error: Unknown opcode: `lw'
/var/tmp/ccoyaiBE.s:31: Error: Unknown opcode: `addu'
/var/tmp/ccoyaiBE.s:32: Error: Unknown opcode: `j'
make: *** [libgcc1.null] Error 1

Please help.

Thanks,
Anitha Mani.



More information about the Gcc-bugs mailing list