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

Cygwin: Reproduce the AArch64 toolchain build from #125 #222

Open
Blackhex opened this issue Nov 15, 2024 · 1 comment
Open

Cygwin: Reproduce the AArch64 toolchain build from #125 #222

Blackhex opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels

Comments

@Blackhex
Copy link
Member

Blackhex commented Nov 15, 2024

Description

  • Checkout branch of Add aarch64-pc-cygwin target to advanced.yml #123 on either Linux AArch64 machine or Windows Arm64 machine with WSL running Ubuntu 22.04.
  • (if appliable) Rebase it to the current main branch and resolve all build script and GitHub Actions workflow files regressions.
  • Run .github/scripts/build.sh build script.
  • The build procedure will most probably fail on applying patches to the upstream GCC, binutils, MinGW, or Cygwin repositories as they diverged over the time.
  • Try to fix as many code compatibility regressions as possible so that the build script will succeed.

Notes

Acceptance Criteria

  • The Add aarch64-pc-cygwin target to advanced.yml #123 PR branch (aarch64-cygwin) is rebased to the main branch of this repository.
  • The .github/scripts/build.sh build script passes on AArch64 Ubuntu 22.04 (or WSL) or all issue preventing the build has been identified, reported as tickets in this repository and linked to this ticket.
@eukarpov
Copy link
Member

Achieving the goal of building the Cygwin toolchain and being able to compile an executable.

~/cross-aarch64-pc-cygwin-msvcrt/bin/aarch64-pc-cygwin-gcc test.c
 
Dump of file a.exe
 
File Type: EXECUTABLE IMAGE
 
  Image has the following dependencies:
 
    cygwin1.dll
    KERNEL32.dll

Getting the "Hello Cygwin" application working is the main priority.
It will help define the scope of required changes in the toolchain build.
Here are the work-in-progress branches that might help build the Cygwin toolchain.

mingw-woarm64-build: aarch64-cygwin-wip
binutils: aarch64-cygwin-wip
gcc: aarch64-cygwin-wip
mingw: aarch64-cygwin-wip
newlib-cygwin: aarch64-cygwin-wip

@Blackhex Blackhex changed the title Reproduce the AArch64 Cygwin toolchain build from #125 Cygwin: Reproduce the AArch64 toolchain build from #125 Jan 5, 2025
@Blackhex Blackhex added the Cygwin label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants