Hi, Murphy!
In Solaris, the Makefile calls a script 'install' or perhaps install-sh, which uses the UCB install program to move the files. Look for a '-s' switch being passed to install, which instructs it to strip the executables as it installs them. I deleted this switch so that I could create a debug version of the code.
But you are quite right. It would not be hard to add an option to configure to enable or disable the -strip option. Default should still be to strip the file, since most people won't be debugging. But it should be a little more obvious how to disable this behavior.
Also, I believe that the copy of the executable in the build directory will not be stripped, only the installed copy would be. So if you have the right permissions to overwrite the installed version, you could just copy the executable manually from the build directory to the install directory, to get around this issue for now.
Hope this helps,
--Carl
Murphy <[EMAIL PROTECTED]> wrote:
Hey'
I intend to document some Configure options in the the README for 0.92.2.
Options I know about, with their defaults (don't forget Configure -h):
-Dprefix=/usr/local
-Dbindir=/usr/local/bin
-Dsysman=/usr/local/man/man1
-Dprivlib=/usr/local/lib/gtk-gnutella
-Dlocale=/usr/local/share/locale
-Dcc=cc
-Dccflags=''
-Doptimize='-O'
-Dyacc='yacc'
-Dgtkversion=1
-Dofficial='false'
-Dremotectrl='false'
Disable NLS with:
-Ud_enablenls
Anyone using other switches?
Switches I'd like to see are
-Dstripbin='true|false' since there's currently no way to prevent
binaries from being stripped by make install
-Ddatadir=/usr/share/gtk-gnutella to provide a path to read-only,
architecture independent data - soon gtkg may be wanting to also write
architecture-dependent data to -Dprivlib so we need a separate datadir
Filesystem Hierarchy Standard on datadir:
http://www.pathname.com/fhs/2.2/fhs-4.11.html
privlib:
http://www.pathname.com/fhs/2.2/fhs-4.7.html
--
Murphy
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
