Re: [gentoo-user] Changing CFLAGS

2007-05-04 Thread Csányi András

2007/5/4, Csányi András [EMAIL PROTECTED]:

2007/5/4, Ryan Sims [EMAIL PROTECTED]:
 On 5/3/07, Csányi András [EMAIL PROTECTED] wrote:
  Hemmann, Volker Armin írta:
   the howto is: remove the system and start from scratch.
  
  uhhh...
  3 days before changed I the cpu type in /etc/make.conf file and
  recompile the system.
  And it is work without problems...
  I'm very lucky...

 From what to what?  Were you using march or mcpu?

CLAGS=-O2 -march=i686 -pipe to
CFLAGS=-O2 -march=pentium4-m -pipe


Sorry... I'm tired...

CFLAGS=-O2 -march=i686 -pipe to
CFLAGS=-O2 -march=pentium4-m -pipe


--
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell


Re: [gentoo-user] Changing CFLAGS

2007-05-03 Thread Csányi András
Hemmann, Volker Armin írta:
 the howto is: remove the system and start from scratch.
   
uhhh...
3 days before changed I the cpu type in /etc/make.conf file and
recompile the system.
And it is work without problems...
I'm very lucky...

Best regards,
András

---sorry my english..., study ---

-- 
- -
--  Csányi András  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport! -- Cromwell

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CFLAGS

2007-05-03 Thread Ryan Sims

On 5/3/07, Csányi András [EMAIL PROTECTED] wrote:

Hemmann, Volker Armin írta:
 the howto is: remove the system and start from scratch.

uhhh...
3 days before changed I the cpu type in /etc/make.conf file and
recompile the system.
And it is work without problems...
I'm very lucky...



From what to what?  Were you using march or mcpu?


--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Changing CFLAGS

2007-04-27 Thread Alex Schuster
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
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Changing CFLAGS

2007-04-27 Thread Hemmann, Volker Armin
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.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Changing CFLAGS and cloning the system.. What are my options?

2006-07-22 Thread Mrugesh Karnik
Hi folks,

Please bear with me, even if this seems a little newbie-sh.

I have a perfectly running Gentoo AMD64 system, with XGL and all. Now 
I've figured that I need to change my CFLAGS. It's some stupidity on my 
part, please don't ask. So I guess I'll need to rebuild my entire 
system.

Anyway, I have about 11GB free on the hard disk. I am thinking about 
building binaries of all the installed packages on the system, keep 
them burnt on a DVD. I'll back up my /etc. All my data partitions 
and /home are on different partitions, so I don't see any need to back 
them up. Also, I'll keep the 2006.0 minimal install CD handy. It does 
support LVM right? What do I do with the stage tarballs? How can I make 
a snapshot of this working system as a fallback? I remember something 
about a Stage 4 in the forums a while ago.. I installed this system 
well over a year ago with a Stage 1 tarball. Should I keep Stage 3 
handy?

Is there anything else I should be worried about? Have I forgotten 
something in case something goes wrong and I have to reinstall the 
entire thing...

Another thing, I'll need to make an exact copy of this system, once 
rebuilt, on a friend's laptop, albeit with a different partition setup. 
My system has LVM setup, the laptop won't have that. What all needs to 
be changed?

Sorry to ask so many question, I'm just worried about messing up the 
fine system.. :/

Thanks and regards,
Mrugesh


pgpCvdOKEFA21.pgp
Description: PGP signature