Giter Site home page Giter Site logo

Comments (7)

zihao-fan avatar zihao-fan commented on May 22, 2024 2

@Mod233 You are welcome to check my github repo. There is one I forked from the original author. You could do brew untap altkatz/homebrew-gcc_cross_compilers and then 'brew tap Phantom-Fan/homebrew-gcc_cross_compilers.git'.

from os_kernel_lab.

Mod233 avatar Mod233 commented on May 22, 2024

我重复安装很多次,但之后总是出现:
Homebrew brew install i386-elf-gcc
Updating Homebrew...
==> Installing i386-elf-gcc from altkatz/gcc_cross_compilers
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2
Already downloaded: /Users/sperc4/Library/Caches/Homebrew/i386-elf-gcc-4.9.3.tar.bz2
Error: SHA256 mismatch
Expected: 1934f3f68fe477299fe929e527c62d800f8b1b01ca74cc218f90459715ace296
Actual: 2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e
Archive: /Users/sperc4/Library/Caches/Homebrew/i386-elf-gcc-4.9.3.tar.bz2
To retry an incomplete download, remove the file above.
。。。不解

from os_kernel_lab.

Elliot-Chan avatar Elliot-Chan commented on May 22, 2024

SHA256 不匹配,是不是网络问题导致软件包只下载了一部分,试试删除i386-elf-gcc-4.9.3.tar.bz2这个文件重新安装试试。如果不行的话,我不知道brew有没有 --forch 选项,如果有的话,禁用校验强制安装试试?实在不行,手工编译安装。
我只提供如何安装那个软件包的想法,勿回

from os_kernel_lab.

zihao-fan avatar zihao-fan commented on May 22, 2024

@Mod233 Hi, I managed to fix this SHA256 mismatch error by forking the original repo and changed the sha256 expected value to by pass this check. I hope this method could solve your problem.

from os_kernel_lab.

Mod233 avatar Mod233 commented on May 22, 2024

@Phantom-Fan thank u for your help. but i don't kown what means "changed the sha256 expected value to by pass this check" , could u please give some more details on how to avoid checking the SHA256... ^_^

from os_kernel_lab.

Mod233 avatar Mod233 commented on May 22, 2024

@Phantom-Fan thanks for your generous help. after i did what you said, i succeed install the gcc-i386 , and make the project. what's more i also learn some commands about "brew".

from os_kernel_lab.

noname007 avatar noname007 commented on May 22, 2024

why not send a pr......

from os_kernel_lab.

Related Issues (20)

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.