strip executables and so libraries

Hi,

Is it possible to extend the configure scripts of snmp++, agent++ and agentx++ to strip the generated executables (from the examples) and the so libraries for our cross-compiled environment ? Just like there is CXX and CXXFLAGS, it would be nice to have something like STRIP and STRIPFLAGS.

Or is it not the way this should be done ?

Best Regards,
Hervé

Hi Hervé,

I think autoconf will honour the STRIP environment variable for cross-compilation strip tools and you can use

make install-strip

to intall stripped binaries.

Does that answer your question?

Best regards,
Frank

Yes indeed.
I ran configure with specifying STRIP.
And later in the process make install-strip.
Thank you !