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@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


--
Andy Cedilnik
Kitware Inc.

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to