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.
Regards,
Raja

On Thu, Nov 19, 2009 at 6:11 PM, Mark Post <[email protected]> wrote:

> >>> On 11/19/2009 at 12:54 PM, rui <[email protected]> wrote:
> -snip-
> > Can anybody help me out with this, please?
>
> This is just a wild guess on my part, but it sounds as though the compiler
> is generating instructions for a newer hardware generation than what you're
> running on.  So, you might want to add a march= parameter to your compile
> and see if that helps.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> 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
>

----------------------------------------------------------------------
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

Reply via email to