Open cedricblancher opened 3 days ago
Still does not work:
$ export SHELL=/bin/bash.exe ; $SHELL ./bin/package make CC="/usr/bin/gcc -m64 -std=gnu17" PACKAGEROOT="$PWD" HOSTTYPE="msys.i386-64" package: initialize the /home/ced/work/mingw_ksh93/ksh/arch/msys.i386-64 view package: update /home/ced/work/mingw_ksh93/ksh/arch/msys.i386-64/bin/mamprobe package: update /home/ced/work/mingw_ksh93/ksh/arch/msys.i386-64/lib/probe/C/make/probe package: update /home/ced/work/mingw_ksh93/ksh/arch/msys.i386-64/bin/mamake cc: fatal error: cannot execute 'cc1': spawn: No such file or directory compilation terminated.
Thanks for the report. MSYS2/MinGW is not a system I've ever used. I generally try to avoid Windows as much as possible, but I'm going to have to figure out a way to test it on this system and make it build.
FWIW, Cygwin should work, it's tested every now and then.
@McDutchie Quick setup via Cygwin shell: ---- snip ----
wget 'https://github.com/msys2/msys2-installer/releases/download/2024-11-16/msys2-x86_64-20241116.exe'
chmod a+x msys2-x86_64-20241116.exe
./msys2-x86_64-20241116
---- snip ---- ... then in MSYS2 UCRT terminal: ---- snip ----
pacman -S --noconfirm gcc emacs gdb make gettext gettext-devel git subversion flex bison unzip pax tar libiconv-devel ncurses-devel gmp-devel mpfr-devel mpc-devel isl-devel isl-devel procps-ng libiconv-devel sed time coreutils util-linux grep sed clang base-devel
---- snip ----
Does that help ?
We cannot build ksh 1.0.10 with MSYS2/MinGW, bin/package fails like this: $ (SHELL=/bin/dash ; $SHELL ./bin/package make) package: /home/ced/mingw_ksh93/ksh: must be in the package root directory tree