I'm studying the implementation detail of OpenMP. I'm trying to look inside the source code of libgomp.so. I have source code of gcc
and I know how to build it. But I want to add debugging symbol to libgomp.so, such that, command below has effect.
nm libgomp.so
So I've just generated Makefile
to build gcc with configure
. I think adding debugging symbol to libgomp.so is related to Makefile.in
, Makefile.am
inside the libgomp directory (subdirectory of gcc). But the text is too long and there are so many flags. I want to know where to modify. Please help me to figure it out.
Actually I'm quite newbie to this system. I studied Makefile
several times, but Makefile.in
, Makefile.am
, configure
, etc. are what I first met this time.
I've just found candidate in libgomp.info
, there are explanation of some environment variables. There is
* GOMP_DEBUG:: Enable Debugging output
But I'm not sure how to use it.