[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: K6 Optimized Debian Binaries

A long time ago, in a galaxy far, far way, someone said...

> This reminds me: what are the best compiler options for AMD chips (I
> have a K6-2)?  I principally thinking of gcc or egcs.  If they have
> AMD specific options great, otherwise, what type of Intel is it best
> to pretend to be?

Stick with egcs (it is gcc nowadays anyway).  IIRC it pretends to be a
Pentium the best (keep in mind that I've not been paying much attention).

> pgcc is news to me.  I take it this is an AMD targetted compiler.  I
> would have thought AMD support would just be folded into gcc.

AMD support has been merged.

> Is there a reason it's not?  (Or is it just slower and safer)?

gcc/egcs _is_ safer - pgcc is distributed as a patch to gcc and touches
many compiler internals (for optimizations).  It's been known to make
things crash prone (like the kernel).

Phil Brutsche					pbrutsch@creighton.edu

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein

Reply to: