I often build with
export CC='gcc -g -fvisibility=hidden
export CXX='g++ -g -fvisibility=hidden'
and
export FC='gfortran -g -fvisibility=hidden'
but recently this has quit working because CMake fails to add
the necessary -fPIC flag to shared library builds.
Sorry I don't know the last CMake
Alan W. Irwin wrote:
I often build with
export CC='gcc -g -fvisibility=hidden
export CXX='g++ -g -fvisibility=hidden'
and
export FC='gfortran -g -fvisibility=hidden'
but recently this has quit working because CMake fails to add the
necessary -fPIC flag to shared library builds.
Sorry I
On 2010-03-14 15:28-0400 Bill Hoffman wrote:
Perhaps adding the flags causes the compiler to be mis-identified somehow.
Can you run with the gcc -g -fvisibility=hidden, and without on a very simple
C only project. Then send me the binary trees from both. I am suspecting
there will be some