The current official version of wxWidgets (3.0.3) cross compiles to an ARM target (Raspberry Pi 3) with no problems.
However, recent Github 3.1.0 versions have some problems.
Initially for configure I used:
../../configure --host=arm-linux --with-gtk --with-libpng=builtin --with-libjpeg=builtin --with-libtiff=builtin --with-regex=builtin --with-zlib=builtin --with-expat=builtin LDFLAGS="-static-libgcc -static-libstdc++" --disable-shared
The 3.1.0 libraries also build fine with this config, however if I try to build the 'minimal' sample, the following occurs:
undefined reference to `png_init_filter_functions_neon'
A quick Google shows that this may be caused by the setup in pngpriv.h. I wonder if change 54126d5 might have anything to do with it?