Reputation: 1308
I have a big project which after make ends up with 1GB of executables and libs.
I use standard workflow: autogen, configure, make, make install
. The problem is after this all the files ends up in default system directories along with other installed software and I can't selectively use strip to reduce the size of the project's executable and libraries. What is a proper workflow to strip symbols after make
is done? Are there options for this in configure
other then visiting each source directory and do it on my own after make
is over?
Upvotes: 3
Views: 3848
Reputation: 2493
replace
make install
by
make install-strip
maybe that's want you want.
It will call install
with -s
option to strip binary when install.
GNU: Standard Targets for Users
Upvotes: 0