kanjitalk755 / macemu

Basilisk II and SheepShaver Macintosh emulators
357 stars 56 forks source link

Can't build on Windows ARM64 #214

Closed mijk84 closed 12 hours ago

mijk84 commented 21 hours ago

Basilisk II $ ../Unix/autogen.sh

 + Running aclocal: done.
 + Running autoheader: ac-wrapper: autoheader: warning: auto-detected versions not found ( ); falling back to latest available
done.
 + Running autoconf: ac-wrapper: autoconf: warning: auto-detected versions not found ( ); falling back to latest available
configure.ac:8: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:8: You should run autoupdate.
../autoconf-2.72/lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:8: the top level
configure.ac:81: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:81: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../Unix/m4/gtk-2.0.m4:8: AM_PATH_GTK_2_0 is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:81: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
../Unix/m4/gtk-2.0.m4:8: AM_PATH_GTK_2_0 is expanded from...
configure.ac:81: the top level
configure.ac:100: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:100: You should run autoupdate.
../autoconf-2.72/lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:100: the top level
configure.ac:134: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:134: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:134: the top level
configure.ac:134: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:134: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:134: the top level
configure.ac:170: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:170: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:170: the top level
configure.ac:170: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:170: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:170: the top level
configure.ac:195: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:195: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:195: the top level
configure.ac:195: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:195: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:195: the top level
configure.ac:284: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:284: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:284: the top level
configure.ac:506: warning: The macro 'AC_LANG_C' is obsolete.
configure.ac:506: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.ac:371: gcc_AC_EXAMINE_OBJECT is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:423: gcc_AC_C_FLOAT_FORMAT is expanded from...
configure.ac:506: the top level
done.
 + Running 'configure ':
   ** If you wish to pass arguments to ./configure, please
   ** specify them on the command line.
configure: loading site script /etc/config.site
checking build system type... aarch64-w64-mingw32
checking host system type... aarch64-w64-mingw32
checking target system type... aarch64-w64-mingw32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking whether make sets $(MAKE)... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether ln -s works... no, using cp -pR
checking for windres... windres
checking for pkg-config... /clangarm64/bin/pkg-config
checking for GTK+ - version >= 1.3.15... yes (version 2.24.33)
checking for gcc option to enable large file support... -D_FILE_OFFSET_BITS=64
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for egrep... (cached) /usr/bin/grep -E
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 8
checking size of void *... 8
checking for off_t... yes
checking for loff_t... no
checking for caddr_t... no
checking for size_t... yes
checking for strdup... yes
checking for strerror... yes
checking whether VirtualProtect works... yes
checking whether your system supports Windows exceptions... yes
checking whether we can skip instruction in SIGSEGV handler... no
checking for the addressing mode to use... direct
checking for GAS .p2align feature... yes
checking for GCC 2.7 or higher... checking for egrep -e... (cached) /usr/bin/grep -E
yes
checking for GCC 3.0 or higher... yes
checking whether the compiler supports -fno-strict-aliasing... yes
checking floating point format... IEEE (little-endian)
checking for ieee754.h... no
checking for ieeefp.h... yes
checking for floatingpoint.h... no
checking for nan.h... no
checking for isnanl... yes
checking for isinfl... no
checking for logl... yes
checking for log10l... yes
checking for expl... yes
checking for powl... yes
checking for fabsl... yes
checking for sqrtl... yes
checking for sinl... yes
checking for cosl... yes
checking for tanl... yes
checking for sinhl... yes
checking for coshl... yes
checking for tanhl... yes
checking for asinl... yes
checking for acosl... yes
checking for atanl... yes
checking for asinhl... yes
checking for acoshl... yes
checking for atanhl... yes
checking for floorl... yes
checking for ceill... yes
checking for atanh... yes
checking for isnan... yes
checking for isinf... no
checking for finite... yes
checking for isnormal... no
checking for signbit... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h

Basilisk II configuration summary:

SDL major-version ...................... : 2
Use JIT compiler ....................... : yes
JIT debug mode ......................... : no
Floating-Point emulation core .......... : IEEE fpu core
Assembly optimizations ................. : none
Addressing mode ........................ : direct
BINCUE support ......................... : no
GTK user interface ..................... : yes
Enable VOSF ............................ : no

Configuration done. Now type "make" (or "gmake").

$ make

cp -pR ../CrossPlatform/vm_alloc.cpp vm_alloc.cpp
cp -pR ../CrossPlatform/vm_alloc.h vm_alloc.h
cp -pR ../CrossPlatform/sigsegv.cpp sigsegv.cpp
cp -pR ../CrossPlatform/sigsegv.h sigsegv.h
cp -pR ../CrossPlatform/video_vosf.h video_vosf.h
cp -pR ../CrossPlatform/video_blit.cpp video_blit.cpp
cp -pR ../CrossPlatform/video_blit.h video_blit.h
g++ -I../include -I. -I../CrossPlatform -I../uae_cpu -I../slirp -DHAVE_CONFIG_H  -DDIRECT_ADDRESSING -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -O2 -fwrapv -IC:/msys64/clangarm64/include/SDL2 -Dmain=SDL_main -c ../main.cpp -o obj/main.o
In file included from ../main.cpp:21:
./sysdeps.h:181:16: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  181 |                                                  : "=r" (ret), "=m" (*p)
      |                                                          ^
./sysdeps.h:180:30: note: use constraint modifier "w"
  180 |         __asm__ __volatile__("xchgl %k0, %1"
      |                                     ^~~
      |                                     %wk0
./sysdeps.h:235:95: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  235 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;}
      |                                                                                               ^
./sysdeps.h:235:83: note: use constraint modifier "w"
  235 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;}
      |                                                                                   ^~
      |                                                                                   %w0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:88: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                        ^~~
      |                                                                                        %wk0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:104: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                        ^~~
      |                                                                                                        %wk0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:118: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                      ^~~
      |                                                                                                                      %wk0
./sysdeps.h:237:88: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  237 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;}
      |                                                                                        ^
./sysdeps.h:237:76: note: use constraint modifier "w"
  237 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;}
      |                                                                            ^~
      |                                                                            %w0
./sysdeps.h:238:90: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  238 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;}
      |                                                                                          ^
./sysdeps.h:238:77: note: use constraint modifier "w"
  238 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;}
      |                                                                             ^~
      |                                                                             %w0
./sysdeps.h:240:80: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  240 | static inline uae_u32 do_byteswap_32_g(uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v)); return v;}
      |                                                                                ^
./sysdeps.h:240:68: note: use constraint modifier "w"
  240 | static inline uae_u32 do_byteswap_32_g(uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v)); return v;}
      |                                                                    ^~
      |                                                                    %w0
./sysdeps.h:241:82: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  241 | static inline uae_u32 do_byteswap_16_g(uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); return v;}
      |                                                                                  ^
./sysdeps.h:241:69: note: use constraint modifier "w"
  241 | static inline uae_u32 do_byteswap_16_g(uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); return v;}
      |                                                                     ^~
      |                                                                     %w0
9 warnings generated.
g++ -I../include -I. -I../CrossPlatform -I../uae_cpu -I../slirp -DHAVE_CONFIG_H  -DDIRECT_ADDRESSING -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -O2 -fwrapv -IC:/msys64/clangarm64/include/SDL2 -Dmain=SDL_main -c main_windows.cpp -o obj/main_windows.o
In file included from main_windows.cpp:21:
./sysdeps.h:181:16: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  181 |                                                  : "=r" (ret), "=m" (*p)
      |                                                          ^
./sysdeps.h:180:30: note: use constraint modifier "w"
  180 |         __asm__ __volatile__("xchgl %k0, %1"
      |                                     ^~~
      |                                     %wk0
./sysdeps.h:235:95: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  235 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;}
      |                                                                                               ^
./sysdeps.h:235:83: note: use constraint modifier "w"
  235 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;}
      |                                                                                   ^~
      |                                                                                   %w0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:88: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                        ^~~
      |                                                                                        %wk0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:104: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                        ^~~
      |                                                                                                        %wk0
./sysdeps.h:236:134: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                                      ^
./sysdeps.h:236:118: note: use constraint modifier "w"
  236 | static inline uae_u32 do_get_mem_word(uae_u16 *a) {uint32 retval; __asm__ ("movzwl %w1,%k0\n\tshll $16,%k0\n\tbswapl %k0\n" : "=&r" (retval) : "m" (*a) : "cc"); ret...
      |                                                                                                                      ^~~
      |                                                                                                                      %wk0
./sysdeps.h:237:88: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  237 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;}
      |                                                                                        ^
./sysdeps.h:237:76: note: use constraint modifier "w"
  237 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;}
      |                                                                            ^~
      |                                                                            %w0
./sysdeps.h:238:90: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  238 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;}
      |                                                                                          ^
./sysdeps.h:238:77: note: use constraint modifier "w"
  238 | static inline void do_put_mem_word(uae_u16 *a, uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); *a = v;}
      |                                                                             ^~
      |                                                                             %w0
./sysdeps.h:240:80: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  240 | static inline uae_u32 do_byteswap_32_g(uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v)); return v;}
      |                                                                                ^
./sysdeps.h:240:68: note: use constraint modifier "w"
  240 | static inline uae_u32 do_byteswap_32_g(uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v)); return v;}
      |                                                                    ^~
      |                                                                    %w0
./sysdeps.h:241:82: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
  241 | static inline uae_u32 do_byteswap_16_g(uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); return v;}
      |                                                                                  ^
./sysdeps.h:241:69: note: use constraint modifier "w"
  241 | static inline uae_u32 do_byteswap_16_g(uae_u32 v) {__asm__ ("bswapl %0" : "=&r" (v) : "0" (v << 16) : "cc"); return v;}
      |                                                                     ^~
      |                                                                     %w0
main_windows.cpp:402:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  402 |         printf(GetString(STR_READING_ROM_FILE));
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main_windows.cpp:402:9: note: treat the string as an argument to avoid this
  402 |         printf(GetString(STR_READING_ROM_FILE));
      |                ^
      |                "%s",
In file included from main_windows.cpp:21:
./sysdeps.h:237:69: error: unrecognized instruction mnemonic
  237 | static inline void do_put_mem_long(uae_u32 *a, uae_u32 v) {__asm__ ("bswap %0" : "=r" (v) : "0" (v) : "cc"); *a = v;}
      |                                                                     ^
<inline asm>:1:2: note: instantiated into assembly here
    1 |         bswap x0
      |         ^
In file included from main_windows.cpp:21:
./sysdeps.h:235:76: error: unrecognized instruction mnemonic
  235 | static inline uae_u32 do_get_mem_long(uae_u32 *a) {uint32 retval; __asm__ ("bswap %0" : "=r" (retval) : "0" (*a) : "cc"); return retval;}
      |                                                                            ^
<inline asm>:1:2: note: instantiated into assembly here
    1 |         bswap x8
      |         ^
10 warnings and 2 errors generated.
make: *** [Makefile:152: obj/main_windows.o] Error 1

Sheepshaver $ ../Unix/autogen.sh

 + Running aclocal: aclocal-1.17: error: couldn't open directory 'm4': No such file or directory
done.
 + Running autoheader: done.
 + Running autoconf: configure.ac:8: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:8: You should run autoupdate.
../autoconf-2.72/lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:8: the top level
configure.ac:46: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:46: You should run autoupdate.
../autoconf-2.72/lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:46: the top level
configure.ac:81: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:81: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:81: the top level
configure.ac:81: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:81: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:81: the top level
configure.ac:117: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:117: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:117: the top level
configure.ac:117: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:117: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:117: the top level
configure.ac:142: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:142: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:270: AC_LANG_CPLUSPLUS is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:142: the top level
configure.ac:142: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:142: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:142: the top level
configure.ac:190: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:190: You should run autoupdate.
../autoconf-2.72/lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
../autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
../autoconf-2.72/lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
configure.ac:190: the top level
configure.ac:307: warning: AC_OUTPUT should be used without arguments.
configure.ac:307: You should run autoupdate.
configure.ac:35: error: possibly undefined macro: AM_PATH_GTK_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:36: error: possibly undefined macro: AC_MSG_WARN
done.
 + Running 'configure ':
   ** If you wish to pass arguments to ./configure, please
   ** specify them on the command line.
configure: loading site script /etc/config.site
configure: error: cannot run /bin/sh ./../Unix/config.sub

$ make make: *** No targets specified and no makefile found. Stop.

kanjitalk755 commented 12 hours ago

Windows ARM64 is not supported.