LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   compiling slack 9.x (http://www.linuxquestions.org/questions/slackware-14/compiling-slack-9-x-140382/)

abs 01-30-2004 12:22 PM

compiling slack 9.x
 
hi
i'd downloaded all 4 cds of slack 9.0. since i've got sources also, i wanted to install programs compiled for my comp. i know they work anyway but i wanted to customize it for my machine, so to speak.

so if i were to use the live cd what would i need to do to start compiling progs for my system? start with gcc?

also, how would the fstab file look for a setup in which / is on one partition and all except /home is on another partition (/home has its own)? and 'parted' can be used to repartition a disk without destroying the data in it, right?

ty
abs

ps: i'm hoping to install this tonight so (waiting impatiently) :P

Piratero 01-30-2004 12:47 PM

Don't do that, install the necessary binaries to get linux running, and from there, start to compile. If you want everything custom made I suggest you compile your kernel or LSF. http://www.linuxquestions.org/questi...php?forumid=13

abs 01-30-2004 04:52 PM

Quote:

Originally posted by Piratero
If you want everything custom made I suggest you compile your kernel or LSF.
i don't want to compile just my kernel, i want to compile the programs i use too. as far as possible, i wanna compile each and every package that will be on my system. kinda like how we "install from source" for normal packages.

r_jensen11 01-30-2004 05:03 PM

Pardon my ignorance, but why bother compiling the programs if you don't compile the kernel. You'd get the best performance out of a custom kernel than you would out of just about anything else.

abs 01-30-2004 05:11 PM

Quote:

Originally posted by me
i don't want to compile just my kernel, i want to compile the programs i use too.
i wanna compile kernel AND all possible programs. i've done kernels before, wanna try the 2nd part. i know this edges on LFS style but i wanna do this first. it might even be a good first step before lfs. just thinking.

but i DO wanna compile as much as possible (progs).

DaHammer 01-30-2004 09:54 PM

The problem with that is that it takes a functional linux system to build a linux system. If you really want to compile everything from source, then my suggestion is to download the LFS guides and go that route. It's not really that hard and the LFS guides are very well laid out. It is however verrry time consuming. If however you want to go with Slackware, then as you say, add as much from source as you can, then take a look at the "Slackware-HOWTO" that's on the first CD. It has info on what is required for a barebones system. Install that, then redo your kernel, and add everything else from source. You could also take a LFS approach and use the slackware sources instead, using the LFS guide as a reference, but may run into problems that way. Anyway, good luck and most of all have fun! :)

abs 01-31-2004 04:18 AM

k, will do that. thanks

i've installed lilo several times w/o any probs. BUT just in case, what's the linux equivalent of 'fdisk /mbr' ? i found this post. in it, the command is
dd if=/dev/zero of=/dev/hda bs=512 count=1
but 'fdisk /mbr' couldn't delete it. has somethin to do with Dynamic Drive Overlay. so is it the same command?


All times are GMT -5. The time now is 02:32 AM.