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

Annotation of /trunk/scons/gcc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 249 - (hide annotations)
Tue Nov 29 05:29:09 2005 UTC (14 years, 11 months ago) by jgs
File MIME type: text/x-python
File size: 776 byte(s)
fix compiler options to enable compilation on gcc platforms
1 jgs 245 # locations of include files for python and boost
2 jgs 249 python_path = '/usr/include/python2.3'
3 jgs 237 boost_path = '/usr/include'
4    
5 jgs 245 # locations of libraries for python and boost
6 jgs 237 python_lib_path = '/usr/lib'
7     boost_lib_path = '/usr/lib'
8    
9 jgs 245 # names of libraries for python and boost
10     python_lib = 'python2.3'
11     boost_lib = 'boost_python'
12 jgs 237
13 jgs 245 # names of c and c++ compilers to use
14 jgs 237 cc = 'gcc'
15     cxx = 'g++'
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 jgs 249 cxx_flags = '-O3 -ansi -fpic --no-warn -W -Wno-unknown-pragmas'
23     cxx_flags_debug = '-g -O0 -ansi -fpic --no-warn -W -Wno-unknown-pragmas -DDOASSERT -DDOPROF'
24 jgs 237
25 jgs 245 # static library archiver flags to use
26 jgs 237 ar_flags = 'crus'

  ViewVC Help
Powered by ViewVC 1.1.26