Pan ruochen <panruochen@xxxxxxxxx> writes: >>2009/6/8 Georg-Johann Lay <avr@xxxxxxxx>: >> Note that libgcc is part of gcc. It's intended to code stuff which is too >> complicated to write it down in the machine description and can easier be >> stated directly in assembler. >> >> If you remove that part you will have to rewrite the missing pieces or to >> rewrite parts of the backend like ashldi3 insn. >> >> Georg-Johann >> > > The install package which I downloaded from internet does not contain > the libgcc.a library. That is odd. libgcc is always required. > I wonder if there someway to make gcc create > immediate > instructions as the old version does, instead of creating a function > call to __ashldi3. There is no command line option to do that. Sorry. The -fno-builtin option controls what happens with user code, it does not affect what the compiler generates. Ian