LinuxQuestions.org
Help answer threads with 0 replies.
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 12-29-2005, 03:44 AM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
Scons question


Hi all, i am trying to compile Blender from source for my Athlon-xp.
I search for informations on Blender site and scons is suggested as builder.
So, I installed it and I used a Slackbuild to make a tgz package.
My question is: where do I put my compiling flags? (without ./configure i am lost )
Thank you.
 
Old 12-29-2005, 06:39 AM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Installation:
scons
#compiles foo

scons install
#(as root) installs foo (default path is /usr/local)

scons -c install
#(as root) uninstalls foo

If you want to install this to some other directory than default one (/usr/local) you can use prefix option

scons prefix=/usr
#compiles foo with /usr as default path

scons prefix=/usr install
#(as root) install foo into /usr

scons -c prefix=/usr install
#(as root) uninstalls foo from /usr
 
Old 12-29-2005, 07:06 AM   #3
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Thank you for you reply, but i do not mean those flags.
I mean cpu flags like theese:
SLKCFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387 -mcpu=athlon-xp"
Then, in the slackbuild i use CFLAGS="$SLKCFLAGS" \
./configure --prefix=/usr \
--confdir=/etc/mplayer \
...
...
...
make
make install
 
  


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
Question, Apples Contribution to Open Source + MacOs file structure question Higgy3k Other *NIX 5 07-25-2005 04:23 AM
Not your regular GRUB question - just a short question for a fried MBR!! ziphem Linux - General 3 01-31-2005 01:51 PM
Scons install problem drinker300 Linux - Software 0 08-07-2004 04:10 PM
Question 1 Firewall Log Question 2 Network Monitor Soulful93 Linux - Networking 4 08-04-2004 11:05 PM
login prompt question & kde scheme question JustinCoyan Slackware 2 06-09-2004 02:02 PM

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

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