LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2006, 11:53 AM   #1
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Rep: Reputation: 15
Using slackbuild scripts


Aplogies in advance if this seems like an obvious question, but after using Slackware for the last year I've finally started playing with slackbuild scripts after installing Slackware 11. So far I've just used pre-written scripts from places such as slackbuilds.org, but I have a question. At the moment I'm running the stock 2.6.18 kernel from /testing, but I usually compile a custom kernel for my AMD 64 box and always select k8 in the processor options. After doing this will I still be able to use standard scripts, most of which seem to be written for i486 achchitecture? Or is it advisable to edit the scripts to reflect the fact that I have a k8 cpu? Thanks in advance for any advice.
 
Old 10-10-2006, 12:16 PM   #2
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
http://www.dis.com/gnu/gcc/i386-and-x86-64-Options.html lists the options that should be available. There is AFAIK though no need to change the mtune parameter. It works flawlessly here with the same configuration (AMD64 box, kernel with k8, stock 32 bit Slackware system) and "-march=i486 -mtune=i686".

Last edited by titopoquito; 10-10-2006 at 12:17 PM.
 
Old 10-11-2006, 02:40 AM   #3
Steve50
Member
 
Registered: Nov 2004
Location: Coventry, UK
Distribution: Debian Lenny, Ubuntu Feisty
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by titopoquito
http://www.dis.com/gnu/gcc/i386-and-x86-64-Options.html lists the options that should be available. There is AFAIK though no need to change the mtune parameter. It works flawlessly here with the same configuration (AMD64 box, kernel with k8, stock 32 bit Slackware system) and "-march=i486 -mtune=i686".

Thanks very much for this. If there's no need to make changes to the scripts I'll probably leave them as they are. I just wasn't sure if this was possible.

Steve
 
Old 10-11-2006, 02:42 AM   #4
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by Steve50
Thanks very much for this. If there's no need to make changes to the scripts I'll probably leave them as they are. I just wasn't sure if this was possible.

Steve
You're welcome
 
  


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
a generic SlackBuild shilo Slackware 46 06-19-2008 11:45 PM
Rebuilding a Slackware Package With Slackbuild Scripts Woodsman Slackware 11 10-14-2006 05:08 AM
SlackBuild CrEsPo Slackware 2 03-19-2006 01:58 PM
SlackBuild guildline kaon Slackware 3 12-22-2005 10:52 AM
Project FFMpeg (SlackBuild scripts) shilo Slackware 3 10-05-2005 10:17 AM

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

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