Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build on Windows ARM64 #277

Open
mijk84 opened this issue Nov 22, 2024 · 1 comment
Open

How to build on Windows ARM64 #277

mijk84 opened this issue Nov 22, 2024 · 1 comment

Comments

@mijk84
Copy link

mijk84 commented Nov 22, 2024

I haven't been able to build Baslisk II or Sheepshaver on Windows 11 ARM64 using MSYS2. I can provide logs at a later time.

@mijk84
Copy link
Author

mijk84 commented Nov 23, 2024

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:78: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:78: 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:78: the top level
configure.ac:78: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:78: 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:78: the top level
configure.ac:89: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:89: You should run autoupdate.
../autoconf-2.72/lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:89: the top level
configure.ac:123: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:123: 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:123: the top level
configure.ac:123: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:123: 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:123: the top level
configure.ac:159: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:159: 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:159: the top level
configure.ac:159: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:159: 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:159: the top level
configure.ac:184: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:184: 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:184: the top level
configure.ac:184: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:184: 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:184: the top level
configure.ac:269: warning: AC_CACHE_VAL(ac_cv_gcc_no_strict_aliasing, ...): suspicious presence of an AC_SUBST in the second argument, where no actions should be taken
../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:269: the top level
configure.ac:269: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:269: 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:269: the top level
configure.ac:471: warning: The macro 'AC_LANG_C' is obsolete.
configure.ac:471: You should run autoupdate.
../autoconf-2.72/lib/autoconf/c.m4:72: AC_LANG_C is expanded from...
configure.ac:348: 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:388: gcc_AC_C_FLOAT_FORMAT is expanded from...
configure.ac:471: 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... no
configure: error: Sorry, Windows VM functions don't work as expected on your system.

Sheepshaver
$ ../Unix/autogen.sh NOCONFIGURE=1

 + 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:41: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:41: You should run autoupdate.
../autoconf-2.72/lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:41: the top level
configure.ac:76: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:76: 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:76: the top level
configure.ac:76: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:76: 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:76: the top level
configure.ac:112: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:112: 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:112: the top level
configure.ac:112: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:112: 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:112: the top level
configure.ac:137: warning: The macro 'AC_LANG_CPLUSPLUS' is obsolete.
configure.ac:137: 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:137: the top level
configure.ac:137: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:137: 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:137: the top level
configure.ac:181: warning: AC_CACHE_VAL(ac_cv_gcc_no_strict_aliasing, ...): suspicious presence of an AC_SUBST in the second argument, where no actions should be taken
../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:181: the top level
configure.ac:181: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:181: 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:181: the top level
configure.ac:257: warning: AC_OUTPUT should be used without arguments.
configure.ac:257: You should run autoupdate.
configure.ac:30: 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:31: error: possibly undefined macro: AC_MSG_WARN
done.
 + Running 'configure NOCONFIGURE=1':
configure: loading site script /etc/config.site
configure: error: cannot run /bin/sh ./../Unix/config.sub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant