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

Diff of /trunk/scons/gcc_options.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 245 by jgs, Tue Nov 29 02:11:05 2005 UTC revision 368 by gross, Thu Dec 15 23:23:12 2005 UTC
# Line 1  Line 1 
1  # locations of include files for python and boost  # locations of include files for python and boost
2  python_path = '/usr/include'  # 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  boost_path = '/usr/include'  boost_path = '/usr/include'
6    
7  # locations of libraries for python and boost  # locations of libraries for python and boost
# Line 7  python_lib_path = '/usr/lib' Line 9  python_lib_path = '/usr/lib'
9  boost_lib_path = '/usr/lib'  boost_lib_path = '/usr/lib'
10    
11  # names of libraries for python and boost  # names of libraries for python and boost
12  python_lib = 'python2.3'  python_lib = "python%s.%s"%(sys.version_info[0],sys.version_info[1])
13  boost_lib = 'boost_python'  boost_lib = 'boost_python'
14    
15  # names of c and c++ compilers to use  # names of c and c++ compilers to use
# Line 15  cc = 'gcc' Line 17  cc = 'gcc'
17  cxx = 'g++'  cxx = 'g++'
18    
19  # c flags to use  # c flags to use
20  cc_flags  = '-O3 -std=c99 -fpic -W -Wall -Wno-unknown-pragmas'  cc_flags  = '-O3 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
21  cc_flags_debug  = '-g -O0 -std=c99 -fpic -W -Wall -Wno-unknown-pragmas'  cc_flags_debug  = '-g -O0 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
22    
23  # c++ flags to use  # c++ flags to use
24  cxx_flags  = '-O3 -ansi -fpic -W -Wall -Wno-unknown-pragmas'  cxx_flags  = '-O3 -ansi -fpic --no-warn -W -Wno-unknown-pragmas'
25  cxx_flags_debug  = '-g -O0 -ansi -fpic -W -Wall -Wno-unknown-pragmas -DDOASSERT -DDOPROF'  cxx_flags_debug  = '-g -O0 -ansi -fpic --no-warn -W -Wno-unknown-pragmas -DDOASSERT -DDOPROF'
26    
27  # static library archiver flags to use  # static library archiver flags to use
28  ar_flags = 'crus'  ar_flags = 'crus'
29    
30    # system specific libraries to link with
31    sys_libs = []
32    
33    # solver libraries to link with
34    solver_libs = []

Legend:
Removed from v.245  
changed lines
  Added in v.368

  ViewVC Help
Powered by ViewVC 1.1.26