Comments (7)
@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.
我重复安装很多次,但之后总是出现:
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.
SHA256 不匹配,是不是网络问题导致软件包只下载了一部分,试试删除i386-elf-gcc-4.9.3.tar.bz2这个文件重新安装试试。如果不行的话,我不知道brew有没有 --forch 选项,如果有的话,禁用校验强制安装试试?实在不行,手工编译安装。
我只提供如何安装那个软件包的想法,勿回
from os_kernel_lab.
@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.
@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.
@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.
why not send a pr......
from os_kernel_lab.
Related Issues (20)
- sudo需要password HOT 1
- 针对VirtualBox,如果无法新建64位的虚拟机
- 这个用的什么汇编语言啊 HOT 3
- Lab2 Exercise 1 要求实现的四个函数已经被实现了
- 实验指导书疑似笔误
- Make grade fails with error 1
- Lab 3 fails when running lab1_switch_test()
- Lab1 kdebug.c 代码中提供的注释有笔误
- Mac Compatibility Issue For 'expr substr'
- Mac OS搭建实验环境Lab0出错(i386-elf-gcc部分) HOT 2
- Macos按照说明书安装后执行make qemu出现问题 HOT 1
- 无图形化Ubuntu HOT 1
- lab2中default_pmm.c中default_check最后对于free_area正确性的检测不完善 HOT 1
- OS实验
- lab5_answer和lab6等“!PageReserved(p) && !PageProperty(p)”错误及其原因 HOT 1
- 请问陈老师为什么这里没有看到视频中演示的lab1_ans项目? HOT 1
- 关于lab0内联汇编文档一点意见
- 编译rcore-fs失败,请问如何解决 HOT 1
- make failed HOT 1
- Nice to meet you
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from os_kernel_lab.