This is a discussion on package compilation flags within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> What are the default flags and settings used in slackware to compile the packages from source? Any hints or ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| incognito <bogus@email.com> wrote: > What are the default flags and settings used in slackware to compile the > packages from source? Depends on the package. See the *build cq. *SlackBuild scripts in the respective source dirs. Pat doesn't use a "one size fits all" for creating the packages <grin> -- ************************************************** ****************** ** Eef Hartman, Delft University of Technology, dept. EWI/TW ** ** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 ** ** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands ** ************************************************** ****************** |
| |||
| On Thu, 22 Apr 2004 03:03:38 +0000, incognito wrote: > What are the default flags and settings used in slackware to compile the > packages from source? > > Any hints or guidance would be most appreciated. > > Thank you. Edit your /etc/profile Ypu may add some flags thusly : export CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" export CPPFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" export CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" This is an example only for my PentiumIV CPU. You will set the flags appropriately for your CPU or you may leave them out & accept the default. Most of the Slackware packages have i486 & some i686 flags. -- Regards garbage garbagedisposal@despammed.com |
| |||
| On Thu, 22 Apr 2004 11:10:22 GMT, garbagedisposal <garbagedisposal@despammed.com> wrote: > > export CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" > export CPPFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" > export CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" FWIW, something like the following can be easier to maintain: export CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" export CPPFLAGS=${CXXFLAGS} export CFLAGS=${CXXFLAGS} -- Mark Hill <usenet@mark.ukfsn.org> (devnull address not read) GPG KeyID: 4A3B58AC |
| ||||
| On Sun, 25 Apr 2004 00:53:53 +0000, Mark Hill wrote: > On Thu, 22 Apr 2004 11:10:22 GMT, > garbagedisposal <garbagedisposal@despammed.com> wrote: >> >> export CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" >> export CPPFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" >> export CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" > > FWIW, something like the following can be easier to maintain: > > export CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer" > export CPPFLAGS=${CXXFLAGS} > export CFLAGS=${CXXFLAGS} Hey thanks Mark! -- Regards garbage garbagedisposal@despammed.com |