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

Re: New sources.list and questions.



I did this by adding the following lines to my 
/root/.bash_profile file:

export CFLAGS="-O3 -funroll-loops -ffast-math -malign-double 
-march=i686 -fomit-frame-pointer -fno-exceptions -pipe 
-malign-loops=2 -malign-functions=2 -malign-jumps=2 -mcpu=i686"
export CXXFLAGS="-O3 -funroll-loops -ffast-math -malign-double 
-march=i686 -fomit-frame-pointer -fno-exceptions -pipe 
-malign-loops=2 -malign-functions=2 -malign-jumps=2 -mcpu=i686"

CFLAGS optimises code written in C and CXXFLAGS is for C++ 
(e.g.kde).  The i686 bit is obviously the processor - I use an 
athlon but I don't think there are any specific athlon 
optimisations available in GCC 2.95.

There is also a debian package called (I think) 
pentium_builder, which may achieve a similar result.

I'm not entirely sure how much benefit you get - opinions seem 
divided.  I compiled kde 2.2.2 from the unstable sources and it 
seems faster than the previous 2.2.1 binaries, but maybe 2.2.2 
is just faster anyway!

Nick.

On Saturday 26 January 2002 7:25 pm, [email protected] wrote:
> How do you set the optimizations for your particular
> processor?  I've looked for this, but the documentation that
> I've found for apt-get source has been pretty spotty.
>
> --Rob
>
> On Sat, Jan 26, 2002 at 04:05:59PM +0000, Nick Baird wrote:
> > You can use the source debs to download and compile
> > optimised packages for your machine (if you have the
> > patience), a but like Gentoo or LFS.  You need to set up
> > the optimisations for your processor, and then 'apt-get
> > source -b package' will download, compile and generate a
> > new deb for package.  Apt-get build-dep package will
> > identify and download any dependancies, which is important
> > as compiling often needs additional dev packages.  So you
> > can still use the magic of apt even when rolling your
> > own.....
> >
> > Nick.
> >
> > On Saturday 26 January 2002 1:31 am, Sarah Hay wrote:
> > > Thanks Bruce and Rod. I will comment out the "src" if it
> > > is really unnecessary. I didn't know whether it was or
> > > not and I really don't think that I need the source code
> > > as I don't have any immediate plans to try and become a
> > > developer. ;-)
> > >
> > > Sarah.
> > >
> > > On Friday 25 January 2002 18:11, Bruce Mobarry wrote:
> > > > On Fri, Jan 25, 2002 at 05:33:41PM -0600, Sarah Hay 
wrote:
> > > > > Well, as you can see below I have hacked my list down
> > > > > considerably. Please let me know what you think. I
> > > > > have to ask though are there any security sources for
> > > > > woody? I commented out the Non-US src because it kept
> > > > > coming up as 404 no matter which mirror i tried.
> > > > > Also, do I need any KDE or Ximian sources? If anyone
> > > > > knows these answers please post the sources so I can
> > > > > add them and begin my upgrading. Thanks!
> > > > >
> > > > > New sources.list:
> > > > >
> > > > > #Libranet
> > > > > deb https://libranetlinux.com updates/
> > > > >
> > > > > #Debian
> > > > > deb http://http.us.debian.org/debian testing main
> > > > > contrib non-free deb-src
> > > > > http://http.us.debian.org/debian testing main contrib
> > > > > non-free
> > > > >
> > > > > #Debian Non-US
> > > > > deb http://non-us.debian.org/ woody/non-US main
> > > > > contrib non-free #deb-src http://non-us.debian.org/
> > > > > woody/non_US main contrib non-free
> > > > >
> > > > >
> > > > > Sarah
> > > > >
> > > > > --
> > > > > The archive is at
> > > > > https://www.libranetlinux.com/archive.html To unsubscribe,
> > > > > send email to
> > > > > [email protected] with a subject
> > > > > of UNSUBSCRIBE.
> > > >
> > > > Hi Sarah,
> > > >
> > > > There are no security sources for testing, because of
> > > > the way that testing was set up by the Debian managers.
> > > > Thus, testing is the least secure branch of Debian (and
> > > > always will be.) I think that you can add a Ximian
> > > > source to your sources.list, but beware: I and others
> > > > on this list have had grief with mixing Ximian and
> > > > straight Debian gnome packages, because Ximian puts
> > > > different things in their packages, causing breakage on
> > > > your computer. So use either straight Debian or
> > > > straight Ximian gnome packages, and you should be fine.
> > > > You might also check the unofficial apt source list at
> > > > Debian for more sources.
> >
> > --
> > The archive is at https://www.libranetlinux.com/archive.html
> > To unsubscribe, send email to
> > [email protected] with a subject of
> > UNSUBSCRIBE.

-- 
The archive is at https://www.libranetlinux.com/archive.html
To unsubscribe, send email to [email protected]
with a subject of UNSUBSCRIBE.