Ich hab zwar 0 Erfahrung damit, aber hier sind ein paar Links, die Google ausgespuckt hat:
http://www.mingw.org/
http://rooster.stanford.edu/~ben/linux/crosshowto.php
Gruß
derJoe
edit: Mist, falschrum. Ich dachte, du willst unter Linux für Windows kompilieren.