/[escript]/trunk/scons/gcc_options.py
ViewVC logotype

Annotation of /trunk/scons/gcc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 367 - (hide annotations)
Thu Dec 15 22:55:46 2005 UTC (14 years, 5 months ago) by gross
File MIME type: text/x-python
File size: 1034 byte(s)
include file for python is now detected
1 jgs 245 # locations of include files for python and boost
2 gross 367 # find valid python version:
3     import sys,os
4     python_path="/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1])
5     if not os.access(python_path,os.F_OK): python_path="/usr/include"
6    
7 jgs 237 boost_path = '/usr/include'
8    
9 jgs 245 # locations of libraries for python and boost
10 jgs 237 python_lib_path = '/usr/lib'
11     boost_lib_path = '/usr/lib'
12    
13 jgs 245 # names of libraries for python and boost
14     python_lib = 'python2.3'
15     boost_lib = 'boost_python'
16 jgs 237
17 jgs 245 # names of c and c++ compilers to use
18 jgs 237 cc = 'gcc'
19     cxx = 'g++'
20    
21 jgs 245 # c flags to use
22 jgs 249 cc_flags = '-O3 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
23     cc_flags_debug = '-g -O0 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
24 jgs 237
25 jgs 245 # c++ flags to use
26 jgs 249 cxx_flags = '-O3 -ansi -fpic --no-warn -W -Wno-unknown-pragmas'
27     cxx_flags_debug = '-g -O0 -ansi -fpic --no-warn -W -Wno-unknown-pragmas -DDOASSERT -DDOPROF'
28 jgs 237
29 jgs 245 # static library archiver flags to use
30 jgs 237 ar_flags = 'crus'
31 jgs 252
32     # system specific libraries to link with
33     sys_libs = []
34 jgs 255
35     # solver libraries to link with
36     solver_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26