Find the answer to your Linux question:
Results 1 to 10 of 10
I'm in the process of setting this file up, and in this section of the guide. Also I'm looking at the makeconf.example for conf options etc... The file that I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Location
    Louisville, KY
    Posts
    35

    setting up make.conf


    I'm in the process of setting this file up, and in this section of the guide.

    Also I'm looking at the makeconf.example for conf options etc...

    The file that I start with has a few settings that I read that should be changed.

    The machine I'm installing this on has an AMD Athlon XP 1700+ so based on what I read in make.conf.exmple I put the following in:

    Code:
    CFLAGS="-march=athlon-xp -o3 -pipe"
    But the guide has some of the elements switched:

    Code:
    CFLAGS="-march=athlon-xp -pipe -o3"
    Does that matter?

    And when I first opened the file there already was a CFLAGS varible set. Do I replace that one with the athlon setting or do I just add it to the file further down?

    And if anyone has some recommended settings to place in there please let me know.

  2. #2
    e2k
    e2k is offline
    Just Joined!
    Join Date
    Jun 2004
    Posts
    41
    As far as I know, there's no difference between CFLAGS="-march=athlon-xp -o3 -pipe" and CFLAGS="-march=athlon-xp -pipe -o3".. What stage install are you running? Stage3 should have the make.conf pretty much pre-configured, if you downloaded the optimal stage tarball (in this case athlon-xp).. Atleast I didn't have to do remarkable changes in it
    Good luck with your install!

  3. #3
    Just Joined!
    Join Date
    May 2004
    Location
    Louisville, KY
    Posts
    35
    I had made the mistake of downloading the generic i86 stage2 file. So there were no optimizations for AMD XP.

    But I downloaded the correct stage last night, and so far everything has been going ok.

    The kernel is compiled and such and right now I'm emerging gnome (I think). But it's only at 9 of 143 so I'll have to leave it doing stuff while I head off to work.

    I'm also sure that when I get home tonight I'll be posting some new questions for you guys.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    include -fomit-frame-pointer too

    "-O3 -pipe -fomit-frame-pointer"

    it will improve performance

  6. #5
    Linux Newbie
    Join Date
    Sep 2003
    Location
    St.Charles, Missouri, USA
    Posts
    201
    DO NOT use the harden option in make.conf. It will screw up your system then X will not work. Im speaking from exp.
    Powered by Gentoo
    never ever ever use the hardened option in make.conf!

  7. #6
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by gwalters
    DO NOT use the harden option in make.conf. It will screw up your system then X will not work. Im speaking from exp.
    Unless you are trying to run a Hardened gentoo installation, in which case you would be prepared to break many things before it's all working.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  8. #7
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    hey, I have always used the --fomit-frame-pointer flag, along with pipes, and i understand pipes (use them all the time in bash) but does anyone know anything about --fomit-frame-pointer and what it does to increase performace?
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  9. #8
    Linux Engineer
    Join Date
    Sep 2003
    Location
    Knoxhell, TN
    Posts
    1,078
    IIRC, the frame pointer stores some debugging info in it.. if you omit it, you can *not* debug a program..

    that being said, i don't roally know why it increases performance.
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

  10. #9
    Linux Guru kkubasik's Avatar
    Join Date
    Mar 2004
    Location
    Lat: 39:03:51N Lon: 77:14:37W
    Posts
    2,396
    well without debuging code in the binary, its slimmer and executes faster.
    Avoid the Gates of Hell. Use Linux
    A Penny for your Thoughts

    Formerly Known as qub333

  11. #10
    e2k
    e2k is offline
    Just Joined!
    Join Date
    Jun 2004
    Posts
    41
    Apparently I have to add -fomit-frame-pointer to my make.conf

Posting Permissions

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