Parent document is top of "comp.unix.aix Frequently Asked Questions (Part 4 of 5)"
Previous document is "2.27: Where can I find ldd for AIX?"
Next document is "2.29: How do I access more than 256 Megabytes of memory?"

2.28: How do I make my program binary executable on the POWER, POWER2, and POWERPC architecures?

AIX will emulate those instructions not available in POWERPC processors, but
you can avoid this emulation and consequent performance degradtation by
using only the common to all.

If you are using IBM's xlc (cc) compiler, the default is to use the common
instruction set.  If you want to be explicit, use the -qarch=com option.

The option -mcpu=common makes GCC use the common instruction set.  Please
note that (unlike xlc) this is *not* the default with GCC on AIX.

Parent document is top of "comp.unix.aix Frequently Asked Questions (Part 4 of 5)"
Previous document is "2.27: Where can I find ldd for AIX?"
Next document is "2.29: How do I access more than 256 Megabytes of memory?"