Wireshark mailing list archives

Fix for cross-compilation issues


From: "Eric W. Anderson" <andersoe () cs cmu edu>
Date: Fri, 3 Oct 2014 15:57:09 -0400

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,
Eric


-- 
Eric W. Anderson                             Computer Science Department
andersoe () cs cmu edu                           Carnegie Mellon University
phone: +1-412-268-1908                        Gates-Hillmann Center 6005

                          PGP key fingerprint:
           D3C5 D6FF EDED 9F1F C36D  53A3 74B7 53A6 3C74 5F12

Attachment: cc_for_build.patch
Description:

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
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: