qmake with non-default compiler
Hello,
I'm very new to Linux, and I'm trying to get a .ui file that I created in QtDesigner to cross compile to I can put it onto my PDA. When I use qmake to generate a .pro and a makefile, then run the makefile, things work perfectly for my desktop, however, the cross compiler is not used, so the file does not run on my PDA. I've tried modifying the makefile to add the path to the correct compiler (I changed the CXX field from g++ to /opt/Embedix/tools/arm-linux/bin/gcc), and I got the following error:
cc1pous: Invalid option '32'
cc1plus: bad value (pentium4) for -mtune= switch
cc1plus: bad value (i386) for -march= switch
...
As I said, I'm very new to Unix, and this seems like a problem that should not be hard to resolve. I'd certainly appreciate help.
Thanks,
Ben
|