Re: Optimisations for gcc

2002-04-05 Thread Rob Weir
On Tue, Apr 02, 2002 at 07:21:19PM +0100, Patrick Kirk wrote: Thanks to all. Putting them in /etc/profile was the easiest way to make sure it worked for everyone on the system. One thing to remember is that some things don't like being optimised; glibc and gcc come to mind. Apparently

Optimisations for gcc

2002-04-02 Thread Patrick Kirk
Hi all, Gentoo Linux has this little file called /etc/make.conf that allows you to optimise gcc CFLAGS, etc. The idea is that when you then compile things, its all set up for your processor and has the max settings to get higher performance. Now, I must say I liked this feature even though I

Re: Optimisations for gcc

2002-04-02 Thread Billy Sneed
Check out pentium-builder. apt-cache show pentium-builder billy Patrick Kirk wrote: Hi all, Gentoo Linux has this little file called /etc/make.conf that allows you to optimise gcc CFLAGS, etc. The idea is that when you then compile things, its all set up for your processor and has the

Re: Optimisations for gcc

2002-04-02 Thread Thomas J. Hamman
On Tue, Apr 02, 2002 at 11:44:15AM +0100, Patrick Kirk wrote: Hi all, Gentoo Linux has this little file called /etc/make.conf that allows you to optimise gcc CFLAGS, etc. The idea is that when you then compile things, its all set up for your processor and has the max settings to get higher

Re: Optimisations for gcc

2002-04-02 Thread Rohan Deshpande
Or, you could just 'export CFLAGS=O3 -march=i686 -mcpu=i686 and then 'CXXFLAGS=$CFLAGS' in your /etc/profile. Then, each configure script you run will check /etc/profile for the flags. -R -- Rohan Deshpande [EMAIL PROTECTED] * Thomas J. Hamman ([EMAIL PROTECTED]) wrote: On Tue, Apr 02, 2002

Re: Optimisations for gcc

2002-04-02 Thread Patrick Kirk
Thanks to all. Putting them in /etc/profile was the easiest way to make sure it worked for everyone on the system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]