| Slackware - Installation This forum is for the discussion of installation issues with Slackware. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-07-2004, 01:32 PM
|
#1
|
|
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,510
Rep: 
|
Cross-Building Slackware as a whole?
Hi,
is there a chance to do some cross-builds of Slackware, possibliy using some other distribution as a build host?
I'm asking because I want to create optimised binaries for (1) Athlon XP, (2) Pentium Classic, (3) i386 (of course, that's going to be a pretty minimal system...).
From other threads on LQ I take that
- Slack is optimized for P4
- runs on i486, nevertheless
- optimised builds of packages don't make much difference (someone states that Gentoo doesn't appear to be a lot faster than Slackware).
Now, I've experimented with source builds of individual packages on some other Linux distros, and I'd confirm that, with one exception: Java applications startup a lot faster with an optimised kernel. They don't *run* that much faster, but they are loaded much more quickly.
Because of this, and as one of my potential target platforms is i386, I'd be interested to know if there's a ready-made script or program that (cross-) compiles all Slackware packages at once.
Does anynone know of such a tool?
Thank you very much, and thanks to the LQ people for creating thiis friendly space, regards
gargamel
|
|
|
|
05-07-2004, 04:22 PM
|
#2
|
|
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,244
Rep:
|
In a word "no". Different people on alt.os.linux.slackware have talked about projects of something like this, no one so far has felt the need to invest that much time and trouble. Feel free to get the build scripts from the sources disks of Slackware, alter each one for whatever optimization you prefer and build them.
|
|
|
|
05-09-2004, 06:31 PM
|
#3
|
|
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,510
Original Poster
Rep: 
|
Thank you.
Yes, of course, I could modify the package build scripts and get any optimisation I want.
A couple of considerations have prevented me from doing so, until now.
(1) It's a lot of work to change all the build scripts individually. It may be possible to find a way to automate the modification process using standard Unix tools like (g)awk/sed. But this will only be possible if the build scripts for all packages are similar (probably they are).
(2) One of the target machines is pretty low-spec. It would take *very* long to compile the packages on that machine. Because of this I'd prefer a cross-build, ie compile the packages for that old laptop on my primary development machine.
Now, there's a problem: My intended 'build host' is not running Slackware. It's currently running SuSE 9.1.
I've tried to build ROCK Linux on it, but failed due to the fact that some of the tools weren't available in the respective version required by ROCK. I'm afraid the same could (and probably would) happen if I tried to compile Slack on it. The ROCK people say, that ROCK build comfortably only on ROCK (well, I ran into kind of a bootstrap problem, here...).
Well, I could check all this out, myself, of course. However, experiments of this kind tend to be extremely time consuming. So I hope to find people who have done it already, and are willing to share their experiences here.
Thank you, agein!
Best wishes
Gargamel
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:12 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|