Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I intend to build gentoo distro for x86_64 architecture, and then to install it on several computers which have different CPUs, but I'm not sure which type of ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10

    -march flag for x86_64 CPU family


    Hello everyone,

    I intend to build gentoo distro for x86_64 architecture, and then to install it on several computers which have different CPUs, but I'm not sure which type of cpu would be suitable in this case to set in the option -marh of CFLAGS variable. Could you suggest me please, witch exactly flag of CPU should I use for building generic x86_64 architecture? I think it would be right to build system with "-march=generic" flag, what do you think about it is it right or not?

    Thank you for any advices.

    Sorry for my poor english

  2. #2
    Just Joined!
    Join Date
    Jan 2010
    Location
    Russia
    Posts
    10
    I've found the answer for choosing rigth type of CPU, on gcc homapage _hxxp://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html

    Thanks.

Posting Permissions

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