Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-21-2005, 12:14 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 2

Rep: Reputation: 0
qmake with non-default compiler


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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
Where to get qmake for SuSE 10 KimVette SUSE / openSUSE 2 11-14-2005 11:03 AM
qmake Jongi SUSE / openSUSE 1 10-30-2005 03:05 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 08:17 AM
qt qmake nakkaya Programming 0 08-11-2003 08:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration