Wireshark mailing list archives

Re: Fix for cross-compilation issues


From: Graham Bloice <graham.bloice () trihedral com>
Date: Sat, 4 Oct 2014 08:55:37 +0100

On 3 October 2014 20:57, Eric W. Anderson <andersoe () cs cmu edu> 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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: