cross compiling

Hey there. Can anyone tell me the commands to compile a c file as avr and as x86 on linux? I've been stuck on this, thanks.
Topic archived. No new replies allowed.