Cross Compiling c file

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