How to inform `as` not to do linking after compiling?

Pan ruochen panruochen@gmail.com
Wed Oct 22 04:48:00 GMT 2008


Hi All,

$cp -f 001.s 002.s
$mips-elf-as -O0 -G 0 -mips32r2 -EL 001.s 002.s
002.s: Assembler messages:
002.s:1: Error: symbol `_Init' is already defined

It seems that `as` invoke `ld` to link the object files after comipling?
So how can I inform `as` not to do linking after compiling?

Best Regards
---------------
PRC
Oct 22, 2008



More information about the Binutils mailing list