Skip to content
Snippets Groups Projects
Commit addcbfdc authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Slight fixes.

parent 122020e0
Branches
Tags
No related merge requests found
...@@ -317,7 +317,7 @@ ALBERTA_DEBUG_CFLAGS ...@@ -317,7 +317,7 @@ ALBERTA_DEBUG_CFLAGS
FFLAGS FFLAGS
before you run configure. You can also set these variables on the before you run configure. You can also set these variables on the
command-line of the configure or the make program, e.g. with a recent command-line of the "configure" or the "make" program, e.g. with a recent
gcc on a Pentium 4 you could use gcc on a Pentium 4 you could use
configure ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse" configure ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse"
...@@ -329,13 +329,14 @@ make ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse" ...@@ -329,13 +329,14 @@ make ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse"
You have to consult the documentation for the compiler(s) you are using You have to consult the documentation for the compiler(s) you are using
to determine the appropriate switches for your setup. to determine the appropriate switches for your setup.
NOTE: if you use the CFLAGS-variable, then it's value will be appended NOTE: if you use the CFLAGS-variable, then it's value will be prepended
to the compiler flags at built-time. So using e.g. to the compiler flags at built-time. So using e.g.
make CFLAGS="-O3 -funroll-all-loops -g0" ALBERT_DEBUG_CFLAGS="-ggdb" make CFLAGS="-O3 -funroll-all-loops -g0" ALBERT_DEBUG_CFLAGS="-ggdb"
will result in '-ggdb -O3 -funroll-all-loops -g0' for the will result in '-O3 -funroll-all-loops -g0 -ggdb' for the
debug-enabled libraries which is probably not what you want. debug-enabled libraries. This might not be quite the thing you were
aiming at.
You still can use CFLAGS to set compiler flags used for both, You still can use CFLAGS to set compiler flags used for both,
optimising and debug-enabled objects. optimising and debug-enabled objects.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment