/[escript]/branches/ROBW_XPLATFORM/scons/gcc_options.py
ViewVC logotype

Annotation of /branches/ROBW_XPLATFORM/scons/gcc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 671 - (hide annotations)
Sat Mar 25 16:04:24 2006 UTC (15 years, 8 months ago) by robwdcock
File MIME type: text/x-python
File size: 809 byte(s)
+ scons adds CCFLAGS to CXXFLAGS so the c++ flags only need to specify the c++ specific ones in the options file. 


1 gross 425 import sys
2 jgs 456
3 gross 425 # locations of include files for python
4 jgs 486 python_path = "/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1])
5 gross 425 python_lib_path = '/usr/lib'
6     python_lib = "python%s.%s"%(sys.version_info[0],sys.version_info[1])
7 jgs 456
8 gross 425 # locations of libraries for boost
9 jgs 237 boost_path = '/usr/include'
10     boost_lib_path = '/usr/lib'
11 jgs 245 boost_lib = 'boost_python'
12 jgs 237
13 jgs 486 # locations of doc building executables
14     doxygen_path = '/usr/bin'
15     epydoc_path = '/usr/bin'
16    
17 jgs 245 # c flags to use
18 jgs 249 cc_flags = '-O3 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
19     cc_flags_debug = '-g -O0 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
20 jgs 237
21 jgs 245 # c++ flags to use
22 robwdcock 671 cxx_flags = '-ansi'
23     cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
24 jgs 237
25 jgs 245 # static library archiver flags to use
26 robwdcock 641 #ar_flags = 'crus'
27 jgs 252
28     # system specific libraries to link with
29 robwdcock 641 #sys_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26