Oliver Rauch <oliver.rauch@Wolfsburg.DE> writes:
> Kevin Dalley wrote:
> >
> > I suggest that a new target be added to the Makefiles for
> > sane-frontends (and sane-backends). I find the target useful since
> > the standard for the Debian distribution is to install binaries
> > stripped. This target is convenient.
> >
> > Here's a description of the install-strip target from the GNU
> > standards document:
> >
> > `install-strip'
> > Like `install', but strip the executable files while installing
> > them. In many cases, the definition of this target can be very
> > simple:
> >
> > install-strip:
> > $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
> > install
> >
> > Normally we do not recommend stripping an executable unless you
> > are sure the program has no bugs. However, it can be reasonable
> > to install a stripped executable for actual execution while saving
> > the unstripped executable elsewhere in case there is a bug.
> >
>
> Hi Kevin,
>
> I think if we add that option we will get in trouble with our error reports.
> I see no great problem with the not stripped libraries, it does cost a bit
> of harddiskspace, not much else. But I see the problems we get because a lot
> of users will install the stripped libs and we are not able to do debugging.
>
> If someone really needs it, it should be no problem for him to change
> the Makefile and add a "-s", - although I do not see a reason at all to
> create stripped libs.
The Debian policy is to install libraries and binaries stripped.
A separated version of libraries may also be installed with debug
options. Therefore, I am required to install libraries and binaries
stripped.
The GNU standards also require an install-strip target. You are not
required to use the GNU standards, of course. But the reason for the
GNU standards is that they are often useful. Here's quote for the GNU
standards which explains the reasons for the targets.
`install-strip'
Like `install', but strip the executable files while installing
them. In many cases, the definition of this target can be very
simple:
install-strip:
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \
install
Normally we do not recommend stripping an executable unless you
are sure the program has no bugs. However, it can be reasonable
to install a stripped executable for actual execution while saving
the unstripped executable elsewhere in case there is a bug.
-- Kevin Dalley kevind@rahul.net-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Fri Dec 08 2000 - 21:53:45 PST