Archive for the ‘ANSI-C’ Category

07
giu

Un .sh come promemoria per macchine a 64bit, non si sa mai…

Versione OPTIMIZED:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Clean everything
if test -d optimized; then \
  cd optimized; \
  make distclean; \
  cd ..; \
fi;

# Do autoconf & friends
make -f Makefile.cvs
mkdir optimized
cd optimized

# Configure for debug build
export CXXFLAGS="-O2 -Wno-deprecated -Wall -g0"
../configure

# Build
make


Versione DEBUG:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Clean everything
if test -d debug; then \
  cd debug; \
  make distclean; \
  cd ..; \
fi;

# Do autoconf & friends
make -f Makefile.cvs
mkdir debug
cd debug

# Configure for debug build
export CXXFLAGS="-O0 -Wno-deprecated -g3"
../configure

# Build
make

yep.

FacebookTwitterDeliciousLinkedInGoogle BookmarksNetlogGoogle GmailMySpaceGoogle ReaderShare

, , , , , , ,

Switch to our mobile site