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-12-2007, 11:13 AM   #1
intens
Member
 
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Cross-compiling Slackware from scratch


Hi all,

I want to cross-compile a basic console-only version of Slackware. I have the cross-compiler environment working, and I can compile the packages with modified Slackbuild-scripts.

First question ist, what package-series will I need to get a basic system without X working?
I guess I need a, ap, parts from l and parts from n. Is this correct?

My 2nd question is in which order should I do the compiling in order to avoid problems with packages depending on not-yet-compiled packages? Is there another way besides trial-and-error?
Is there a way to figure which packages depend on what?

Thanks in advance,
BR
 
Old 01-12-2007, 12:50 PM   #2
chrisortiz
Member
 
Registered: Nov 2005
Distribution: Slackware, and of course the super delux uber knoppix universal live recovery cd
Posts: 429

Rep: Reputation: 30
Quote:
First question ist, what package-series will I need to get a basic system without X working?
I guess I need a, ap, parts from l and parts from n. Is this correct?
i believe you are right.

Quote:
is there a way to figure which packages depend on what?
i think there is a list of them on each cd, however i don't have a cd with me so i can't verify this. Someone please correct me if i'm wrong. The reason being, i remeber there being an install option for following package dependencies

Last edited by chrisortiz; 01-12-2007 at 12:53 PM.
 
Old 01-12-2007, 03:16 PM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Start with an order more or less like this:
kernel,glibc, binutils,gcc, libtermcap, bash, sed, zlib, ncurses -don't forget you need lots of development tools also like make, etc.
 
Old 01-12-2007, 06:09 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
What are you trying to compile it for anyway ? (what architecture ?)
 
Old 01-12-2007, 09:46 PM   #5
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Why not look at LFS or DIY? The build order is the same no matter what 'distro' your using. linux is linux.
 
Old 01-13-2007, 04:21 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
yeah, i second the suggestion to look at the LFS book... the order and methods you use to compile a slackware from scratch are very important (as with any distro) and LFS is the perfect guide for your quest...

http://www.linuxfromscratch.org/
 
Old 01-15-2007, 02:06 AM   #7
intens
Member
 
Registered: Jun 2003
Location: europe
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Hi,

Thank you all for your suggestions. I think I'll try the way proposed in the LFS book.
br
 
Old 01-15-2007, 02:26 AM   #8
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Also check this thread, currently running here:
http://www.linuxquestions.org/questi...d.php?t=518905
 
  


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
LXer: Distribution Release: Cross Linux From Scratch 1.0.0 LXer Syndicated Linux News 0 09-27-2006 03:21 PM
Cross Compiling dosnlinux Programming 5 03-01-2006 11:12 AM
cross compiling cerin Linux - Software 1 02-11-2006 10:47 PM
cross compiling with g++ hornofsalvation Linux - Newbie 2 10-09-2004 10:29 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration