LinuxQuestions.org
Review your favorite Linux distribution.
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 08-31-2004, 12:08 AM   #1
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Rep: Reputation: 31
./Compile options for Slackware


What are the ./configure options for slackware? I'm curious because I'm building some stuff and I might as well make it compatible.
 
Old 08-31-2004, 12:44 AM   #2
Jimbo1265
Member
 
Registered: Apr 2004
Location: Oklahoma City, OK, USA
Distribution: Slackware
Posts: 48

Rep: Reputation: 15
./configure options are dictated by the app/utility you're building. Not by Slackware.
To discover the options, run ./configure with the help flag thusly:
Code:
./configure --help
 
Old 08-31-2004, 12:50 AM   #3
insyte
Member
 
Registered: Jul 2004
Distribution: Slackware Current
Posts: 307

Rep: Reputation: 30
you can also add

./configure --prefix=/usr

so everything can be installed there, though if you use checkinstall you can just let the programs install to their default location, usually /usr/local or /opt
 
Old 08-31-2004, 04:14 AM   #4
jev-bird
Member
 
Registered: Jul 2004
Location: USofA
Distribution: Whatever runs accordingly.
Posts: 200

Rep: Reputation: 30
It gets deeper than configure. Slack builds for 486. It all comes down to your compiler and your build enviorment. man gcc to learn more
 
Old 08-31-2004, 04:36 AM   #5
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Original Poster
Rep: Reputation: 31
How does the configure script set up the options for 486 on gcc? Most i've done was --host= and --target=i486. So far my options has been --prefix=/opt/kde-3.2.3 for kde.

So the slackware packages like KDE are the default config options?
 
Old 08-31-2004, 05:24 AM   #6
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
There are Slackware build scripts which are located in the source dir of the package involved on the source tree on ftp/cd/etc. You can use those to build something the way Slackware does.

Flags are included in those buildscripts as well.
 
Old 08-31-2004, 02:33 PM   #7
redjokerx
Member
 
Registered: Aug 2004
Location: San Diego
Distribution: Slackware
Posts: 303

Original Poster
Rep: Reputation: 31
thanks
 
  


Reply


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
kernel compile options keysoft Linux - Newbie 4 02-24-2005 12:01 AM
emerge compile options MrJoshua Linux - Software 0 06-07-2004 03:58 PM
Is there a place to get common compile options? duerra Linux - Newbie 3 01-21-2004 01:58 PM
Kernel compile options Sammy2ooo Linux - General 4 11-26-2003 07:43 AM
compile options for pthread with semaphore megaspaz Programming 6 10-29-2003 05:05 PM


All times are GMT -5. The time now is 10:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration