LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-30-2004, 12:22 PM   #1
abs
Member
 
Registered: Oct 2003
Posts: 203

Rep: Reputation: 30
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
 
Old 01-30-2004, 12:47 PM   #2
Piratero
Member
 
Registered: Sep 2003
Distribution: FreeBSD-5.2.1
Posts: 38

Rep: Reputation: 15
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
 
Old 01-30-2004, 04:52 PM   #3
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
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.
 
Old 01-30-2004, 05:03 PM   #4
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
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.
 
Old 01-30-2004, 05:11 PM   #5
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
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).
 
Old 01-30-2004, 09:54 PM   #6
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
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!

Last edited by DaHammer; 01-30-2004 at 09:55 PM.
 
Old 01-31-2004, 04:18 AM   #7
abs
Member
 
Registered: Oct 2003
Posts: 203

Original Poster
Rep: Reputation: 30
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling mod_perl on Slack 10 tcrabtree21 Slackware 0 04-14-2005 04:50 PM
Compiling Hydrogen 0.9.1 on Slack 9.1 erraticassassin Slackware 3 01-23-2005 03:52 PM
Compiling on slack vs mdk and others zarathustra674 Linux - Distributions 4 01-23-2004 05:47 PM
Slack 8.1 Zipslack 9.1 compiling 2.6.0 o0sketchdude0o Slackware 4 01-07-2004 04:32 PM
compiling scsi_mod for slack biiiep Slackware 1 08-18-2003 01:42 PM


All times are GMT -5. The time now is 03:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration