msys2 / msys2.github.io

The MSYS2 homepage
https://www.msys2.org
Other
2.18k stars 280 forks source link

How to bootstrap msys2 doc? #179

Open elmarco opened 2 years ago

elmarco commented 2 years ago

Hi!

Thanks for the great work and service :)

Is there any document that explains how MSYS2 is bootstrapped from source?

lazka commented 2 years ago

What are you trying to do?

elmarco commented 2 years ago

Learn how it was built, eventually try to build it myself.

lazka commented 2 years ago

It's unlikely that there ever was a proper bootstrap path. Likely cross compiling cygwin from Linux, then build a cygwin toolchain, then build the msys toolchain + cross toolchains with that, and then bootstrap the mingw ones using the msys cross compilers.

Lots of mingw packages can also be cross compiled from Linux directly.

lazka commented 2 months ago

somewhat related, someone created a cygwin bootstrap process for Arch Linux: https://github.com/ookiineko/arch-cygwin