Hello.

Thank you for your interest in AArch64 Cygwin.

The changes that has been upstreamed so far are not yet enough to build the 
package itself nor the toolchain necessary to build it. The minimum allowing 
that lives in 
https://github.com/Windows-on-ARM-Experiments/newlib-cygwin/compare/upstream...aarch64-patch-series1-v1
 branch. All the changes, we've developed so far are in 
https://github.com/Windows-on-ARM-Experiments/newlib-cygwin/commits/woarm64/ 
branch, which is our "develop", and few WIP feature branches in the same 
repository.

You can build your own Ubuntu (both x64 or Aarch64) to AArch64 Cygwin 
cross-compilation toolchain using 
https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/blob/main/.github/scripts/build.sh
 script, e.g. in WSL. Just change `PLATFORM` variable from `w64-mingw32` to 
`pc-cygwin`, `RUN_BOOTSTRAP` to `1` and `UPDATE_SOURCES` to `1` in 
https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/blob/main/.github/scripts/config.sh
 (those work as environment variables too).

Building x64 Cygwin to AArch64 Cygwin cross-compilation toolchain requires some 
additional changes that are in 
https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/compare/main...native-cygwin
 branch. I generally don't recommend this as it takes around 8 hours on beefy 
machine while it takes around 2 hours for the Ubuntu one.

Radek

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to