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

cross compile binutils and gcc on macOS Big Sur 12.2 #3

Closed
EugeneChung opened this issue Feb 7, 2021 · 0 comments
Closed

cross compile binutils and gcc on macOS Big Sur 12.2 #3

EugeneChung opened this issue Feb 7, 2021 · 0 comments

Comments

@EugeneChung
Copy link
Owner

EugeneChung commented Feb 7, 2021

binutils-2.36.1

  1. ./configure --target=x86_64-pc-linux --prefix=/usr/local/cross --enable-64-bit-bfd --disable-shared --disable-nls
  2. make configure-host
  3. make LDFLAGS="-all-static"
  4. sudo make install

gcc-10.2.0

  1. ./configure --target=x86_64-pc-linux --prefix=/usr/local/cross --disable-shared --disable-nls --enable-languages=c --without-headers --enable-multilib
  2. make configure-host
  3. make all-gcc
  4. sudo make install-gcc
@EugeneChung EugeneChung changed the title binutils on macOS Big Sur binutils on macOS Big Sur 12.1 Feb 7, 2021
@EugeneChung EugeneChung changed the title binutils on macOS Big Sur 12.1 binutils on macOS Big Sur 12.2 Feb 7, 2021
@EugeneChung EugeneChung changed the title binutils on macOS Big Sur 12.2 cross compile binutils and gcc on macOS Big Sur 12.2 Feb 7, 2021
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