Wireshark-dev: Re: [Wireshark-dev] Cross compile wireshark for OpenWRT
From: "Burkhardt, Kersten" <kerstenk@xxxxxxxxx>
Date: Fri, 29 May 2009 16:17:56 +0200
> I don't know; looking further, it may be that that change was incorrect.
>  The correct way may be to do ./configure CC_FOR_BUILD=gcc<or whatever>

The correct way, or the working way I don't know if this is the best
way was to make lemon with the OpenWRT buildsystem like that:

define Build/Compile
		$(MAKE) -C $(PKG_BUILD_DIR)/tools/lemon CC_FOR_BUILD="$(HOSTCC)"
		$(MAKE) -C $(PKG_BUILD_DIR)
endef

> Anyway, Didier has a point: you may want to just compile dumpcap (which
> is small/lightweight) or even tcpdump.  Both capture just fine but
> without all the weight of *shark.

Thanks I will try that.