I try to compile application:
Qt Code:
  1. #include <QtCore>
  2. #include <QCoreApplication>
  3.  
  4. int main(int argc, char **argv)
  5. {
  6. QCoreApplication app(argc, argv);
  7. app.exec();
  8. }
To copy to clipboard, switch view to plain text mode 

and receive this error:
cc1plus: error: unrecognized command line option "-arch"

How i can solve it?

---
macosx 10.6
gcc version 4.5.0 20100211 (experimental) (GCC) from macports
qt 4.6.2, compile with gcc version 4.2.1 (Apple Inc. build 5646)