compiling under linux

Discuss new features and future development.

compiling under linux

Postby dino » Tue Sep 25, 2007 6:55 am

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.

Posts: 2
Joined: Tue Sep 25, 2007 6:51 am

Return to Features/Development

Who is online

Users browsing this forum: No registered users and 1 guest