Ask a Question related to Debian, Design and Development.
-
tripolar #1
installing debian though compiling most everything.....
I recently tinkered with another GNU/Linux distro Gentoo. I was
impressed with several features- especially having everything run super
fast compared to other distros.
I am sure there is a simple answer to this though I must ask to get it :-)
I would like to go back to debian though start with a very small base
then any other programs I install- compile them from source to get a
more stripped and fast OS.
I seem to remember some line in sources.list relateding to source.
Any suggestions what to start with?
Also, Do most of you consider Debian better than Gentoo? Why?
Thanks
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
tripolar Guest
-
MakeMaker and compiling/installing C/C++ programs
I'm packaging up a bunch of perl modules for a future (limited) release and came across the following problem. Due to the fact that the Apache... -
Compiling and Installing Perl 5.8.0 on FreeBSD
This is my first post here, so go easy! :-) I get an error when attempting to install Perl 5.8.0 on FreeBSD that leaves me completely clueless. ... -
installing Debian 3.0R1
Hello how do I install Debian 3.0R1 I have had it installed but no GUI only text, command line how do I get KDE and programs to install/programs.... -
Libc 6.2, Debian and compiling modules for ATI Radeon 9700
I just purchased a Radeon 9700 Pro (new MB also, Intel 875PBZ)so I could play America's Army in Linux. I used to play with a Radeon 8500LE, debian... -
Problems installing debian 3.0
Installing debian is giving me trouble on a Dell OptiPlex GXa (which has previously run RH 6.2, 7.x and 8.0). I can't seem to install (or load... -
Shaul Karl #2
Re: installing debian though compiling most everything.....
On Fri, Aug 01, 2003 at 02:16:22AM -0500, tripolar wrote:
> I recently tinkered with another GNU/Linux distro Gentoo. I was
> impressed with several features- especially having everything run super
> fast compared to other distros.
I am curious about the hardware that Gentoo ran faster and the way the
slower distros were made.
> I am sure there is a simple answer to this though I must ask to get it :-)
> I would like to go back to debian though start with a very small base
> then any other programs I install- compile them from source to get a
> more stripped and fast OS.
> I seem to remember some line in sources.list relateding to source.
> Any suggestions what to start with?
>
One should probably begin with the packages listed as
build-essential.
In case the discussion here will be short I would try to raise it on
debian-devel. I also believe that one should define the frame work
first. In order to make this discussion targets a large audience and
also probably to make things simpler I would assume that the frame work
is that there is no option to cross compile. There fore, a minimal
binary Debian system to begin with is unavoidable.
> Also, Do most of you consider Debian better than Gentoo? Why?
>
Never tried Gentoo.
--
Shaul Karl, shaul @ actcom . net .il
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Shaul Karl Guest
-
David Z Maze #3
Re: installing debian though compiling most everything.....
(This is a FAQ, as much as it's a question. See the archives of both
debian-user and debian-devel about this.)
tripolar <tripolar@comcast.net> writes:
Really? The canonical request here is for numbers substantiating this> I recently tinkered with another GNU/Linux distro Gentoo. I was
> impressed with several features- especially having everything run
> super fast compared to other distros.
claim; with very limited exceptions, processor-specific optimizations
seem to add very little to most programs, which tend to be speed-bound
by the disk subsystem or the user.
Debian has poor support for doing this sort of thing. Individual> I am sure there is a simple answer to this though I must ask to get
> it :-) I would like to go back to debian though start with a very
> small base then any other programs I install- compile them from
> source to get a more stripped and fast OS.
packages can be easily rebuilt (look at 'debuild' in the devscripts
package, for example) but it's non-trivial to force gcc to run with a
particular set of options.
In general, copy all of your 'deb' lines and change the first word to> I seem to remember some line in sources.list relateding to source.
> Any suggestions what to start with?
'deb-src'. 'apt-get source packagename' will get the source. You can
also download sources directly from the FTP site; 'dpkg-source -x
foo.dsc' will unpack a Debian source package, given the .orig.tar.gz
and .diff.gz as well.
If you really do want to do this, you'll probably need to write the
machinery to do semi-automated recompilation on your own, and remember
to recompile packages when they've updated on the Debian site. If you
really do want to compile everything on your system from source,
Gentoo might be a better choice for explicitly catering to you.
Disclaimer: I've never used Gentoo. I'm actually much happier with> Also, Do most of you consider Debian better than Gentoo? Why?
Debian over Slackware in that it *doesn't* force me to recompile any
time I want to change something; in tracking unstable, I only need to
pay the time cost of downloading packages, not the further cost of
compiling them. And when we do have the occasional package that
requires more processor-specific tuning (ssh and atlas come to mind),
Debian tries to accomodate that.
--
David Maze [email]dmaze@debian.org[/email] [url]http://people.debian.org/~dmaze/[/url]
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
David Z Maze Guest
-
Andreas Fromm #4
Re: installing debian though compiling most everything.....
tripolar wrote:
I played around a bit with this idea and found out that the only thing> I recently tinkered with another GNU/Linux distro Gentoo. I was
> impressed with several features- especially having everything run
> super fast compared to other distros.
> I am sure there is a simple answer to this though I must ask to get it
> :-)
> I would like to go back to debian though start with a very small base
> then any other programs I install- compile them from source to get a
> more stripped and fast OS.
> I seem to remember some line in sources.list relateding to source.
> Any suggestions what to start with?
>
> Also, Do most of you consider Debian better than Gentoo? Why?
>
> Thanks
>
>
where I could notice a difference was compilen a custom kernel with the
new gcc-3.? and setting the optimization level for my CPU correctly in
the Kernel makfile.
/usr/src/linux/arch/i386/Makefile
ifdef CONFIG_MPENTIUMIII
CFLAGS += -march=pentium3 -mmmx -msse
endif
I'm not sure if the -mmx -msse will make any difference because they can
only be used for floating point arithmetic, and thats something the
kernel doesn't do much.
I also set the optimisation level form -O2 to -O3 in some earlier
compilations, but I can't say It made a difference I could notice,
beside of increasing the size of the binary so that I couldn't make a
rescue-floppy anymore (which I usually don't do anyway).
The other application where I noticed a real difference was with
mplayer, which I compiled from source with different optimisations and
got big performnce differences when reproducing dvds.
About the Debian or Gentoo question: I liked the idea of gentoo, but
found it a bit unpracticable to have to wait all the compilation when
installing a little app I just want to try. The other aspect is that
Debian is seemlessly integrated comparing with gentoo. (I don't want to
start a flame here, it's just my opinion) And you have a lot more
ready-packaged applications which makes life easier. Thats the main
reason I kept Debian as my OS.
You can also try apt-build, but as I said, compiling the a nice kernel
for my cpu was the only thing worth doing in my opinion.
Regards, and sorry for my english
Andreas
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Andreas Fromm Guest



Reply With Quote

