From: Rafael L. <ra...@de...> - 2003-11-14 18:31:00
|
* Joachim Geiger <joa...@ip...> [2003-11-14 19:05]: > I tried to compile and install the 5.2.1-version of plplot > on my RedHat8.0 machine enabling f77 using the Lahey- > Fujitsu-compiler f95f. Compilation and intallation went fine > but when linking to my other codes I had a hard time upto > the point when I noticed that the whole plplot was compiled > with the -g flag (I think this is debugging) and that I also > had to compile my other code with -g. I tried to configure > plplot with --disable-debugging but I was not able to get > rid of this stupid -g flag. I don't want to run all of my codes > in debug-mode. Any ideas what to do? I do not know if what I am going to say matters in this case, but the Debian packages install stripped versions of the library files: $ for f in src/.libs/libplplotd.so.9.0.0 /usr/lib/libplplotd.so.9.0.0 ; do file $f ; ls -l $f ; done src/.libs/libplplotd.so.9.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped -rwxr-xr-x 1 rafael rafael 776087 2003-10-30 09:55 src/.libs/libplplotd.so.9.0.0 /usr/lib/libplplotd.so.9.0.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped -rw-r--r-- 1 root root 222224 2003-10-29 22:25 /usr/lib/libplplotd.so.9.0.0 Maybe you could try to do the same using the strip command (or better: change from RH to Debian :-) -- Rafael |