Re: Tell GCC to optimize for a platform or src.rpm compiles.

2003-01-15 Thread Tom Georgoulias
Lucas Albers wrote: How do you optimize it for a particular platform? Lets say I want to recompile my kernel from a src rpm, using the gcc 3.2 compiler. How do I tell gcc 3.2 to optimize for my p4 or athlon or whatever system? You'll need to install the SRPM, then edit the spec file (and possibl

Re: Tell GCC to optimize for a platform or src.rpm compiles.

2003-01-15 Thread Arjan van de Ven
On Wed, 2003-01-15 at 17:16, Lucas Albers wrote: > How do you optimize it for a particular platform? > Lets say I want to recompile my kernel from a src rpm, using the gcc 3.2 > compiler. > How do I tell gcc 3.2 to optimize for my p4 or athlon or whatever system? for the kernel it's easy to do it

Tell GCC to optimize for a platform or src.rpm compiles.

2003-01-15 Thread Lucas Albers
How do you optimize it for a particular platform? Lets say I want to recompile my kernel from a src rpm, using the gcc 3.2 compiler. How do I tell gcc 3.2 to optimize for my p4 or athlon or whatever system? > --Luke > --Computer Science Sysadmin, MSU Bozeman > --admin(AT)cs.montana.edu 994-3931