/[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 237 by jgs, Mon Nov 28 05:26:43 2005 UTC revision 367 by gross, Thu Dec 15 22:55:46 2005 UTC
# Line 1  Line 1 
1  python_path = ?  # locations of include files for python and boost
2    # 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  boost_path = '/usr/include'  boost_path = '/usr/include'
8    
9    # locations of libraries for python and boost
10  python_lib_path = '/usr/lib'  python_lib_path = '/usr/lib'
11  boost_lib_path = '/usr/lib'  boost_lib_path = '/usr/lib'
12    
13  python_lib = ?  # names of libraries for python and boost
14  boost_lib = boost_python  python_lib = 'python2.3'
15    boost_lib = 'boost_python'
16    
17    # names of c and c++ compilers to use
18  cc = 'gcc'  cc = 'gcc'
19  cxx = 'g++'  cxx = 'g++'
20    
21  cc_flags  = '-O3 -std=c99 -fpic -W -Wall -Wno-unknown-pragmas'  # c flags to use
22  cc_flags_debug  = '-g -O0 -std=c99 -fpic -W -Wall -Wno-unknown-pragmas'  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  cc_flags  = '-O3 -ansi -fpic -W -Wall -Wno-unknown-pragmas'  
25  cc_flags_debug  = '-g -O0 -ansi -fpic -W -Wall -Wno-unknown-pragmas -DDOASSERT -DDOPROF'  # c++ flags to use
26    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    
29    # static library archiver flags to use
30  ar_flags = 'crus'  ar_flags = 'crus'
31    
32    # system specific libraries to link with
33    sys_libs = []
34    
35    # solver libraries to link with
36    solver_libs = []

Legend:
Removed from v.237  
changed lines
  Added in v.367

  ViewVC Help
Powered by ViewVC 1.1.26