compiling under linux

Discuss new features and future development.
Post Reply
dino
Posts: 2
Joined: Tue Sep 25, 2007 6:51 am
Contact:

compiling under linux

Post by dino »

Hi there,

i use chipmunk together with pymunk under linux. To compile chipmunk under linux i use the following scons script, maybe someone else has some use of it too

Code: Select all

import glob

env = Environment()
env['CPPFLAGS'] = '-O3 -std=gnu99'

env.SharedLibrary('chipmunk', glob.glob('src/*.c'))
too use it just crate a file named "SConstruct" in the root directory of chipmunk, past the code in it and run "scons" (of course you need scons installed therefor ;))

it should also work on windows, os x and other posix systems (*bsd and such).
IIRC scons can also generated ms vc project files.

greetings
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests