abram olson wrote:
>
> I have two questions. First, when I installed the
> kernel source from one of progeny's deb's, will the
> config file that is included build a stock progeny
> kernel or do I have to set all the options myself?
>
> Second, I want to build some i686 optimized packages
> from source. How do I do this in progeny? In freebsd
> all I have to do is edit a textfile in /etc but I
> can't seem to find out how to do this in progeny.
>
> Thanks folks. I really appreciate all the help I've
> received from people on the list here.
>
> Abe
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
HI Abe!
I think most modern Debian-based distros will place a copy of the
"stock" .config file in the /boot directory...at least my Progeny-Debian
has one there named "config-2.2.19". All you have to do is copy this to
"/usr/src/linux" and replace the existing ".config" with this one, then
do a "make oldconfig" and "make dep" and it will then compile a "stock"
kernel. The "make oldconfig" will present you with a list of choices
about changes/additions for the new kernel version if they are not the
same. BTW, if you d/l and install the kernel source, it will expand
into a new directory in "/usr/src/<kernel-version>". You will have to
manually establish a soft link from this directory to "/usr/src/linux"
in order for the above to work correctly.
The optimization for a specific architecture is done in the compiler by
setting certain flags. Linux uses the GNU C Compiler (gcc). If you
used gcc in freebsd, then it is the same process. I am NOT a coder, so
I suggest you delve into the MAN pages for more "correct" info on
this....
If you are wanting to build some DEBIAN packages, you also might want to
become familiar with the Debian packaging system and the tools (apt,
apt-get, dpkg, etc). There are several tools there that will
automatically build a proper "deb" from source code. It is MUCH easier
that doing it manually. I have found a LOT of info on these topics on
the Debian mail-lists / archives. I would highly recommend browsing
around those topics that interest you and making use of
them....EXCELLENT support/self-help there.
Cheers,
-Don Spoon-
Cheers,
-Don Spoon-