On 4/28/20 2:31 PM, Thomas Dineen wrote:
I am on a Fedora 30 X86 Host, and I want to cross compile to i686
for Windows.
I am using the cross tools provided by the Fedora distribution
/usr/i686-w64-mingw32.
The i686-w64-mingw32 cross compiler dose work on Hello.c, independant of
meson's
opinion shown below.
L"Z:\\home\\tdineen\\gdk-pixbuf-2\\gdk-pixbuf-2.40.0\\_build\\meson-private\\sanitycheckc_cross.exe"
not supported on this system
Does this file still exist? Can you take a look at it to see what it is
and why it doesn't run? First run "file sanitycheckc_cross.exe" for a
quick check.
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc.c
-o
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc.exe
-pipe -D_FILE_OFFSET_BITS=64
-----
Running test binary command:
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc.exe
It appears to test the system compiler first which works.
Sanity testing C compiler: /usr/bin/i686-w64-mingw32-gcc
Is cross compiler: True.
Sanity check compiler command line: /usr/bin/i686-w64-mingw32-gcc
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc.c
-o
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc_cross.exe
-pipe
-----
Running test binary command: /usr/bin/wine
/home/tdineen/gdk-pixbuf-2/gdk-pixbuf-2.40.0/_build/meson-private/sanitycheckc_cross.exe
meson.build:1:0: ERROR: Executables created by c compiler
/usr/bin/i686-w64-mingw32-gcc are not runnable.
Then it tests the mingw setup which fails. If the executable doesn't
still exist, see if you can create it again using this command line.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx