Giter Club home page Giter Club logo

mintos64's People

Contributors

eugenechung avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mintos64's Issues

cross compile for binutils and gcc on macOS Monterey

  • #3 과 동일한 옵션으로 빌드 가능
  • Big Sur에서 빌드한 이미지는 Monterey에서는 못 쓴다. Monterey로 오면서 없어진 library가 있다.

binutils-2.37

  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-11.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

cross compile binutils and gcc on macOS Big Sur 12.2

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.