LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-08-2004, 01:09 AM   #1
snuffalufagus
LQ Newbie
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Slackware 10
Posts: 8

Rep: Reputation: 0
question about packages..


Hey, i am relatively new to the whole 'linux thing' i was just wondering... if a software package is compiled on say a 486 machine, does that mean that it is optimised for a 486 machine and thus your missing out on performance if you are using a a new machine?? Or does it make no difference except that it would take a ******* long time to compile ?

Thanks
Snuff
 
Old 11-08-2004, 01:15 AM   #2
waever
Member
 
Registered: Oct 2003
Location: Hamilton,ON
Distribution: LFS
Posts: 46

Rep: Reputation: 16
No, gcc is able to make binary to any supported platform from any supported platform. It's called cross-compiling.
So, you can actually compile an optimized code for i686 from a i486, provided you give the right -march flags.
 
Old 11-08-2004, 01:22 AM   #3
snuffalufagus
LQ Newbie
 
Registered: Oct 2004
Location: Sydney, Australia
Distribution: Slackware 10
Posts: 8

Original Poster
Rep: Reputation: 0
ok, but for instance when you download packages from the slackware site... say x11-6.8.1-i486-2.tgz is it going to run as well on a PIII as it would if i compiled it myself???
 
Old 11-08-2004, 09:01 AM   #4
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Usually, packages compiled for i486 will perform very well on a Pentium, Pentium II, Pentium III, etc...

Compiling a package specifically for one architecture (let's say the Pentium III) only yields minor performance improvements.

Therefore, compiling Apache (for instance), specifically for a Pentium III is only interesting if you have very specific needs (and/or performance problems). Most of the time, these issues can be solved through a better configuration.

This is why, for instance, there isn't (yet) a specific version of Slackware for AMD64 processors: the performance gains do not (yet) justify a recompilation of the entire system.

Hope this helps!
 
  


Reply



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
Download packages question satimis Linux From Scratch 2 06-27-2005 09:35 PM
Packages Question megadeth Debian 4 05-02-2005 07:11 PM
Packages Question ericfx Slackware 1 09-04-2004 01:17 PM
a question about packages veritas Slackware 2 03-07-2004 10:04 PM
Question about rpm packages fettouhi Linux - Software 6 07-07-2003 06:55 AM

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

All times are GMT -5. The time now is 03:04 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