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

Bootstrapping x86_64 cross toolchain #4353

Open
6 of 9 tasks
kxxt opened this issue Dec 11, 2024 · 0 comments
Open
6 of 9 tasks

Bootstrapping x86_64 cross toolchain #4353

kxxt opened this issue Dec 11, 2024 · 0 comments

Comments

@kxxt
Copy link
Contributor

kxxt commented Dec 11, 2024

Because there's no package like x86_64-linux-gnu-glibc in Arch Linux's repo,
we must bootstrap from scratch.

Build Order

Target linux api headers and binutils:

Build bare gcc to compile glibc stubs:

Build glibc stubs with x86_64-linux-gnu-gcc-bootstrap

Build a minimal gcc with x86_64-linux-gnu-glibc-headers

Build full target glibc with the minimal gcc:

Build full gcc now:

Optionally build target glibc again with full gcc and then rebuild gcc:

  • x86_64-linux-gnu-glibc
  • x86_64-linux-gnu-gcc
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