[CMake] use of efence

Andy Cedilnik andy.cedilnik at kitware.com
Fri Apr 7 17:46:55 EDT 2006


Hi Subir,

The efence is really a linking flag, so do:

export LDFLAGS=-lfence

       Andy

Subir Singh Lamba wrote:

>Hi,
>
>I want to use the following command while using cmake
>
>gcc -g -o hello hello.c -lefence
>
>How should I insert the flags so that  -lefence is at the end
>
>I have tried
>export CFLAGS="$CFLAGS -g -lefence"
>
>but then linking with efence does not takes place.
>
>thanks in advance,
>
>Subir
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake
>  
>


-- 
Andy Cedilnik
Kitware Inc.



More information about the CMake mailing list