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

Page 1 of 1

Make an application for two independent target, PPC and X86

PostPosted: Wed May 20, 2015 10:22 am
by Amin Sahebi
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

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

PostPosted: Sun May 24, 2015 5:17 pm
by maschoen
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.