[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch to add a disable-strip option (i.e.: while crosscompileing)

From: Martin Pala
Subject: Re: patch to add a disable-strip option (i.e.: while crosscompileing)
Date: Sat, 26 Mar 2005 08:46:53 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Here is patch for makefile install-debug target, if you agree, i can send it to cvs (when i'll be back from holiday ;)


P.S. Happy Easter :)

Claus Klein wrote:
I think there are more than one solutions for the little problem:

 "How to prevent host stripping while 'make install' in a cross development 

It would be also possible and a goot idea to have an option which strip program 
is used
while installation step.

For me this was the clean solution for my problem.
I found it in the openssh-3.9p1 configure program, which has the same option.

What do you mean about the:

 LEXFLAGS = -i --noyywrap

Without this, I had an unresolved symblol in buildroot environment with ulibc.


On Friday 25 March 2005 09:11, Martin Pala wrote:

Maybe it could be sufficient to add for example 'installdebug' target to the makefile?

This allows to have common configuration section - the decision is made by choosing appropriate install method (both are possible without reconfiguring monit).


Claus Klein wrote:


I send a little patch to support crosscompileing with buildroot.
configure my be used with a new option:
--disable-strip         Disable calling strip(1) on install

Too I had a little problem while linking with ulibc under buildroot.
So I changed the default value in to: LEXFLAGS = -i --noyywrap
Perhaps this should be configurable too?

See too



diff -Naur monit-4.4-dist/ monit-4.4/
--- monit-4.4-dist/ 2004-01-29 17:52:11.000000000 +0000
+++ monit-4.4/ 2005-03-20 21:43:34.000000000 +0000
@@ -39,7 +39,8 @@
MODE_DIRS       = 755


@@ -70,7 +71,7 @@

+LEXFLAGS = -i --noyywrap

# ------------------------------------------------------------------- #
diff -Naur monit-4.4-dist/ monit-4.4/
--- monit-4.4-dist/ 2004-09-23 18:59:52.000000000 +0000
+++ monit-4.4/ 2005-03-20 21:54:46.000000000 +0000
@@ -404,6 +404,23 @@

# ------------------------------------------------------------------------
+# disable-strip option (i.e.: while crosscompileing)
+# ------------------------------------------------------------------------
+# Check if we want to disable call strip on install
+       [  --disable-strip         Disable calling strip(1) on install],
+       [
+               if test "x$enableval" = "xno" ; then
+                       STRIP_OPT=
+               fi
+       ]
+# ------------------------------------------------------------------------
# Resource code
# ------------------------------------------------------------------------


To unsubscribe:

To unsubscribe:

To unsubscribe:

Attachment: install.patch
Description: application/unknown

reply via email to

[Prev in Thread] Current Thread [Next in Thread]