[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Why main Makefile don't use INSTALL_PROGRAM, only INSTALL? It causes installed binaries to be not stripped.

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Fri, 14 Sep 2012 18:21:44 +0400

Hello, Users.

 Now Makefile.in contains:

INSTALL = @INSTALL@
...
INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL)

 And after configure it is expanded to:

INSTALL = /usr/bin/install -c -o root -g wheel
...
INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL)

 It means, that all binaries are installed un-stripped. It is huge
 amount of unneeded (unless --enable-debug is provided) information,
 especially for static build. In case of dynamic build, all shared
 libraries are unstripped too.

 `configure' script defines INSTLAL_PROGRAM with additional `-m 555
 -s' options, but it is not used.

 Why is it done in such way? Could it be changed?

 Yes, I've search mailing list this time without any relevant results.

-- 
// Black Lion AKA Lev Serebryakov <lev_at_FreeBSD.org>
Received on 2012-09-14 16:22:18 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.