From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hhc04-0003a4-NW for garchives@archives.gentoo.org; Sat, 28 Apr 2007 01:45:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3S1iAR6022462; Sat, 28 Apr 2007 01:44:10 GMT Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l3S1e4aK017841 for ; Sat, 28 Apr 2007 01:40:07 GMT Received: from xdsl-195-14-205-228.netcologne.de ([195.14.205.228] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Hhbuu-0002VI-Id for gentoo-user@lists.gentoo.org; Sat, 28 Apr 2007 03:40:04 +0200 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Sat, 28 Apr 2007 03:40:04 +0200 id 00030408.4632A5F4.0000081D Date: Sat, 28 Apr 2007 03:40:04 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Changing CFLAGS Message-ID: <20070428014004.GA1617@zone.wonkology.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) X-Archives-Salt: 17da1b5f-a474-438e-8bd0-3f740ecf3194 X-Archives-Hash: 318aa1cd6848e0febdc36d551c6bc931 Hi there! My motherboard or CPU just died, I am using a replacement system for a while. It's an Athlox-XP, while I had an AMD-64 before. I did not use 64 bit mode, but I have -march=k8 in my CFLAGS, and get lots of illegal instructions. Seems I need to re-compile everything with different CFLAGS, maybe -mcpu=k8 maybe this time as I am planning to re-activate the old system some time. What would be the best way to do this? 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. 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. 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... Alex -- gentoo-user@gentoo.org mailing list