Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Fix for cross-compilation issues

From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Sat, 4 Oct 2014 08:55:37 +0100
On 3 October 2014 20:57, Eric W. Anderson <andersoe@xxxxxxxxxx> wrote:
Hi All,

I ran into trouble cross-compiling wirshark/tshak for ARM.  It looks
like the same issues from https://www.wireshark.org/lists/wireshark-users/200910/msg00121.html
and https://www.wireshark.org/lists/wireshark-dev/201104/msg00135.html :
Host-side tools (lemon) were being compiled with the cross-compiler, and
then didn't work later in the build process.

I believe the problem is that CC_FOR_BUILD was never being properly set
and ultimately got defaulted to $CC.  The fix is basically a 2-line change
to configure.ac, and including the macro ax_prog_cc_for_build.m4 in
aclocal-fallback/.  Should I submit a change for code review, or how is that
handled?


Thanks for looking into this, the procedure for submitting changes can be found here: http://wiki.wireshark.org/Development/SubmittingPatches

--
Graham Bloice