Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


  Search this Thread
Old 05-07-2004, 02:32 PM   #1
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,726

Rep: Reputation: 187Reputation: 187
Cross-Building Slackware as a whole?


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

Old 05-07-2004, 05:22 PM   #2
Senior Member
Registered: Sep 2003
Location: Indiana
Distribution: Slackware-current
Posts: 1,263

Rep: Reputation: 54
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.
Old 05-09-2004, 07:31 PM   #3
Senior Member
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,726

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



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
Error building cross gcc-3.3.2 for i386-mingw32msvc target ugenn Linux - Software 2 10-05-2012 03:33 AM
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 01:57 PM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 07:33 AM
Building cross-compiling toolchain radhapriya Linux - Software 1 06-25-2004 01:01 AM
Building an ARM7 cross compiler from gcc Charlie_B Linux - Software 2 08-20-2003 09:59 AM > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 07:33 AM.

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