1 |
edhill |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
edhill |
1.2 |
# $Header: /u/u3/gcmpack/MITgcm/tools/build_options/linux_ia32_g77,v 1.1 2003/09/29 16:15:24 edhill Exp $ |
4 |
edhill |
1.1 |
# |
5 |
|
|
|
6 |
|
|
|
7 |
|
|
FC=g77 |
8 |
|
|
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
9 |
|
|
LN='/bin/ln -s' |
10 |
|
|
CPP='cpp -traditional -P' |
11 |
|
|
NOOPTFLAGS='-O0' |
12 |
|
|
|
13 |
|
|
# For IEEE, use the "-ffloat-store" option |
14 |
|
|
if test "x$IEEE" = x ; then |
15 |
|
|
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
16 |
|
|
FOPTIM='-O3 -malign-double -funroll-loops' |
17 |
|
|
else |
18 |
edhill |
1.2 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
19 |
edhill |
1.1 |
FOPTIM='-O0 -malign-double' |
20 |
|
|
fi |
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|