public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Changing CFLAGS
Date: Sat, 28 Apr 2007 07:07:04 +0200	[thread overview]
Message-ID: <200704280707.04269.volker.armin.hemmann@tu-clausthal.de> (raw)
In-Reply-To: <20070428014004.GA1617@zone.wonkology.org>

On Samstag, 28. April 2007, Alex Schuster wrote:

>
> What would be the best way to do this?

complete reinstallation.

> I thought about unpacking 
> a stage1 tarball, changing CFLAGS, calling bootstrap.sh and doing
> an emerge -e world, but this would overwrite things in /etc and
> clutter my file system with more things I do not really want,
> like creating entries in /dev. I would rather like to keep the
> current setup as it is.

use knoppix.
If you don't want to reinstall everything and the XP is just a temporary 
replacement, get a knoppix livecd. It lets you save things to a file, if you 
want to.
>
> I think that I saw a howto once about what to do in such a case,
> but at that time I did not need it, and now I cannot find it.

the howto is: remove the system and start from scratch.

>
>
> BTW: What exactly are the benefits from using march instead of
> mcpu? Is there a noticeable difference in speed anyway? With mcpu
> I would not have the trouble I am having now...

Your trouble started, when you switched to a completly different cpu... 

mcpu = only rearranging stuff so it might run better on the cpu specified. No 
instructions and features used, that are not available on all the other cpus 
from a family (in theory, a binary built with mcpu=athlon-xp should be able 
to run on a i486).

march = optimizing for the specified cpu. Using all features and instructions 
available, building stuff not able to run on other cpus. (so a resulting 
binary of march=athlon-xp won't run on a i486)

usually march is faster on the given cpu, mcpu is more compatible.

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2007-04-28  5:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-28  1:40 [gentoo-user] Changing CFLAGS Alex Schuster
2007-04-28  5:07 ` Hemmann, Volker Armin [this message]
2007-04-28 14:04   ` [gentoo-user] " Alexander Skwar
2007-04-28 14:22     ` Hemmann, Volker Armin
2007-05-03 20:40   ` [gentoo-user] " Csányi András
2007-05-03 22:19     ` Ryan Sims
2007-05-04  6:11       ` Csányi András
2007-05-04  6:12         ` Csányi András

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200704280707.04269.volker.armin.hemmann@tu-clausthal.de \
    --to=volker.armin.hemmann@tu-clausthal.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox