~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to BUILD/compile-solaris-amd64-forte-debug

  • Committer: Stewart Smith
  • Date: 2008-06-30 05:33:25 UTC
  • mfrom: (12.2.8 drizzle)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: stewart@flamingspork.com-20080630053325-mwrv6bjaufcpvj8n
merge my work

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#! /bin/sh
2
 
 
3
 
gmake -k clean || true
4
 
/bin/rm -f */.deps/*.P config.cache
5
 
 
6
 
path=`dirname $0`
7
 
. "$path/autorun.sh"
8
 
 
9
 
# To compile 64 bit, add -xarch=amd64 to EXTRA_64_BIT
10
 
EXTRA_64_BIT="-xarch=amd64"
11
 
 
12
 
# For "optimal" code for this computer add -fast to EXTRA. Note that
13
 
# this causes problem with debugging the program since -fast implies
14
 
# -xO5.
15
 
EXTRA=""
16
 
 
17
 
#
18
 
# The following should not need to be touched
19
 
#
20
 
 
21
 
export CC CXX CFLAGS CXXFLAGS
22
 
STD="-g -mt -D_FORTEC_ $EXTRA $EXTRA_64_BIT $debug_cflags"
23
 
ASFLAGS="$EXTRA_64_BIT"
24
 
CC=cc-5.0
25
 
CFLAGS="-Xa -xstrconst $STD"
26
 
CXX=CC
27
 
CXXFLAGS="-noex $STD"
28
 
./configure \
29
 
    --prefix=/usr/local/mysql \
30
 
    --localstatedir=/usr/local/mysql/data \
31
 
    --libexecdir=/usr/local/mysql/bin \
32
 
    --with-extra-charsets=complex \
33
 
    --enable-thread-safe-client \
34
 
    --enable-local-infile \
35
 
    --with-zlib-dir=bundled \
36
 
    --with-big-tables \
37
 
    --with-readline \
38
 
    --with-archive-storage-engine \
39
 
    --with-named-curses=-lcurses \
40
 
    --with-big-tables \
41
 
    --with-innodb \
42
 
    --with-example-storage-engine \
43
 
    --with-blackhole-storage-engine \
44
 
    --with-federated-storage-engine \
45
 
    --with-csv-storage-engine \
46
 
    --with-ssl \
47
 
    --with-debug \
48
 
    --enable-assembler
49
 
 
50
 
# Not including:
51
 
#     --with-ndbcluster
52
 
#     --with-berkeley-db
53
 
 
54
 
gmake -j4