wireshark-dev April 2011 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] how to cross-compile tshark a

Re: [Wireshark-dev] how to cross-compile tshark and tools

From: Guy Harris <guy_at_nospam>
Date: Wed Apr 13 2011 - 16:46:48 GMT
To: Developer support list for Wireshark <wireshark-dev@wireshark.org>

On Apr 13, 2011, at 9:41 AM, Guy Harris wrote:

> Of course, none of that addresses any configuration tests we might do that involve compiling *and* running code; if we do any of that, cross-compilation is even harder to make work.

And we do, in fact, do tests such as that. For example, we run code to test whether the GLib module mechanism, which we use as a platform-independent mechanism for loading modules (plugins) at run time, is available. If it's always present in GLib 2.x - i.e., if GLib won't compile on a platform that has no module-loading mechanism the GLib module mechanism can use - or if there's a better way to test whether the host-system supports run-time module loading, we could fix that.

We also test whether dladdr() can be used to find a file name for the executable. That one might be harder to do for cross compilation.

There's also a check for a pre-BIND82 inet_pton() bug - perhaps that's so old and crufty that we don't need to care about it any more.

___________________________________________________________________________
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