Wireshark-dev: [Wireshark-dev] Re: If you want to test something on a big-endian machine...

From: Tomasz Moń <desowin@xxxxxxxxx>
Date: Thu, 30 Jul 2026 09:08:31 +0200
On Thu, Jul 30, 2026 at 8:56 AM Guy Harris <gharris@xxxxxxxxx> wrote:
> A Wireshark build ain't fast - the fastest I got with a recent fully-loaded M5 Max MacBook Pro on an emulated s390x with 4 cores and 8GB of emulated memory was, for a build from a freshly-created and CMaked build directory, was:
>
> real    172m21.036s
> user    537m59.375s
> sys     110m18.051s

Why build in emulated environment? Wouldn't just running Wireshark
inside emulated environment be enough?

Cross-compiling is the standard practice, which is orders of magnitude
faster than running compiler inside emulated environment. I never
attempted to cross-compile Wireshark myself, but considering that
OpenEmbedded meta-networking has Wireshark recipe, I believe cross
compiling is possible.