LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ./Compile options for Slackware (https://www.linuxquestions.org/questions/slackware-14/compile-options-for-slackware-224629/)

redjokerx 08-31-2004 12:08 AM

./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.

Jimbo1265 08-31-2004 12:44 AM

./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

insyte 08-31-2004 12:50 AM

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

jev-bird 08-31-2004 04:14 AM

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

redjokerx 08-31-2004 04:36 AM

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?

rotvogel 08-31-2004 05:24 AM

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.

redjokerx 08-31-2004 02:33 PM

thanks


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