Find the answer to your Linux question:
Results 1 to 3 of 3
Apologies in advance but I am a Linux newbie..... Will SuSE-9 C programs compiled with the option -M31 be able to execute on 64 bit versions of SuSE-10 without a ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3

    SUSE C Compiler Question

    Apologies in advance but I am a Linux newbie.....

    Will SuSE-9 C programs compiled with the option -M31 be able to execute on 64 bit versions of SuSE-10 without a re-compile?

    Steve

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Alrighty. So I can't find any "-M31" option in the gcc man pages. I assume it specifies 32-bit registers?

    If this is the case, then yes. 64-bit chips can run 32-bit programs, just they will not take full advantage of the 64-bit chip.
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    3
    Thanks for that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...