Just use -m31 on the gcc command line.
On 11/19/09 1:23 PM, "rui" <[email protected]> wrote: > Hi Mark, > > Thanks for the input, I just checked the options available for g++ in > http://gcc.gnu.org/onlinedocs/gcc/S_002f390-and-zSeries-Options.html > > What option should i use, I think by default it would be using g5 as it 32 > bit, can you please confirm? > > -march=cpu-typeGenerate code that will run on cpu-type, which is the name of > a system representing a certain processor type. Possible values for > cpu-type are > `g5', `g6', `z900', `z990', `z9-109', `z9-ec' and `z10'. When generating > code using the instructions available on z/Architecture, the default is > -march=z900. Otherwise, the default is -march=g5. ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
