Skip navigation.
Home
The QNX Community Portal

View topic - Make an application for two independent target, PPC and X86

Make an application for two independent target, PPC and X86

Discussion about the general applications that run on QNX6

Make an application for two independent target, PPC and X86

Postby Amin Sahebi » Wed May 20, 2015 10:22 am

Dear all,
Hi,
Can you please help me, if there is any solution to make your application for a device target that support PPC architecture and you make it also for X86 target on VMBox for example!
you can running your application on both PPC Target and X86 VMBox Neutrino Target!

thanks
Amin Sahebi
New Member
 
Posts: 2
Joined: Sun Aug 24, 2014 4:54 am

Re: Make an application for two independent target, PPC and

Postby maschoen » Sun May 24, 2015 5:17 pm

You need to compile the application twice, once for PPC and once for X86. Qnx has a standard set of makefiles that will do this automatically. You cannot make a single module that will work on both targets. If that is a requirement you might want to see if you can write your program in a script language like pearl, python, php or ruby.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 1 guest