From addcbfdc36ebd397dd74bca02e3d3864abe14ef1 Mon Sep 17 00:00:00 2001 From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE> Date: Sat, 29 Nov 2003 23:19:27 +0000 Subject: [PATCH] Slight fixes. --- README | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README b/README index 5e35713..471679b 100644 --- a/README +++ b/README @@ -317,7 +317,7 @@ ALBERTA_DEBUG_CFLAGS FFLAGS 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 configure 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 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. make CFLAGS="-O3 -funroll-all-loops -g0" ALBERT_DEBUG_CFLAGS="-ggdb" -will result in '-ggdb -O3 -funroll-all-loops -g0' for the -debug-enabled libraries which is probably not what you want. +will result in '-O3 -funroll-all-loops -g0 -ggdb' for the +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, optimising and debug-enabled objects. -- GitLab