LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-19-2002, 08:50 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
recompile slack for *my* CPU


Hi Guys!

Just a thought :}

What would I have to do if I wanted to recompile
Slack 8.1 completely to match my CPU? I do have
the entire source here ... I just didn't quite understand
what's up with that i386-Slackware-Linux that's passed
to the compiler by the SlackBuild scripts.

Cheers,
Tink
 
Old 11-21-2002, 01:28 PM   #2
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
i386 is your cpu architecture. pretty much any 32bit CPU newer than a 286 is considered to be a 386 or 686.

having your kernel compiled for 386 support is just fine.
 
Old 11-21-2002, 01:38 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067

Original Poster
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally posted by Syncrm
i386 is your cpu architecture. pretty much any 32bit CPU newer than a 286 is considered to be a 386 or 686.

having your kernel compiled for 386 support is just fine.
Gidday Syncro...

I know that stuff compiled for i386 will run
on a PII, PIV or Athlon ... what I meant is
that I want the whole system (not just my kernels,
which of course always have been tailored to my
systems) to be optimized for the appropriate CPU.
Binutils, Bash, gcc ... you name it :}

Cheers,
Tink
 
Old 11-22-2002, 03:17 PM   #4
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Well than start a LFS or get sources from Slack's site and recompile everything, but i dont think you will get a BIG performance hit.
It's just too much trouble for little gain IMO.
I think i read somewhere that Patrick on purpose keeps all programs optimized for 386 for all those low-end computers, so they can deal with programs better, but if you have a better than a 386 theres nothing to worry about, some programs might run a millisecond slower, but nothing that you can really perceive.
Someone correct me if im wrong plz
-NSKL
 
Old 11-22-2002, 06:30 PM   #5
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
You could use the Linux From Scratch as a model for how to do it using
Slack sources. . . I agree with NSKL, it isn't really going to affect your
performance. Most of those apps weren't optimized for your CPU when
they were written, so compiling them with the generic optimizations from
the compiler isn't going to help much, and may cause compile problems if
you try to optimize too much. . .
 
  


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
Slack-current 2.6.12.3 recompile JohnSeth Slackware - Installation 1 08-21-2005 12:29 PM
Recompile Slack aleksander777 Slackware 8 07-29-2004 02:35 PM
why should i recompile these programs in new slack? doublefailure Slackware 2 03-25-2003 11:33 PM
slack kernel recompile Goatdemon Slackware 11 08-20-2002 04:41 AM
Kernel recompile problem in Slack 8 Darkstar Linux - Software 1 03-26-2002 11:54 AM

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

All times are GMT -5. The time now is 09:04 AM.

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