La versione 4.6 di gcc non ha l' opzione -arch. Direi che ti serve un Makefile.Che processore hai?
Regole del Forum