LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   how to compile qt project for i486 using i686 (http://www.linuxquestions.org/questions/programming-9/how-to-compile-qt-project-for-i486-using-i686-726748/)

mksc 05-18-2009 07:18 AM

how to compile qt project for i486 using i686
 
Hi all

I am using fc9 x86_64. I am new to QT, I make a small project on QT3.
And I want to run executable file of my QT project on my other (i486)system. I do not want to compile on my i486 machine. I just want to copy & paste my executable on that machine and whenever I execute that file it'll execute. Is this thing possible?

Alien_Hominid 05-18-2009 08:54 AM

Check gcc's -march option. -march=i486

rstewart 05-18-2009 11:29 AM

Also, don't forget to compile the support libraries using the 486 option as well as your application.


All times are GMT -5. The time now is 04:00 PM.