This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
GCC Cross Compiler Query: please help
- From: mani at cae dot wisc dot edu
- To: bug-gcc at gnu dot org
- Date: Fri, 7 Nov 2003 11:10:37 -0600
- Subject: GCC Cross Compiler Query: please help
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.