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-compiler for M1 MacBook? #248

Open
ge1mina023 opened this issue Jul 5, 2022 · 10 comments
Open

cross-compiler for M1 MacBook? #248

ge1mina023 opened this issue Jul 5, 2022 · 10 comments

Comments

@ge1mina023
Copy link

I am using M1 MacBook Pro for this turotial. I am stuck in chapter 11. Is there any way to build a cross-compiler for my M1 MacBook?

After make all install 2>&1 | tee make.log, I got feedback as below.
Screen Shot 2022-07-05 at 11 07 23

@firestar4204
Copy link

I'm on M1 Macbook Air. All I did was brew install i686-elf-gcc or something along those lines.

@ge1mina023
Copy link
Author

ge1mina023 commented Jul 15, 2022

I'm on M1 Macbook Air. All I did was brew install i686-elf-gcc or something along those lines.

brew install i686-elf-gcc is only one thing I need do for building a cross-compiler?

@firestar4204
Copy link

you don't even need to build a cross-compiler after that. just use the i686-elf-gcc as your cross-compiler (it's i686 instead of i386, but it will still work)

@ge1mina023
Copy link
Author

you don't even need to build a cross-compiler after that. just use the i686-elf-gcc as your cross-compiler (it's i686 instead of i386, but it will still work)

@firestar4204 Is there anything else I need to do besides brew install i686-elf-gcc

@firestar4204
Copy link

firestar4204 commented Jul 18, 2022

Is there anything else I need to do besides brew install i686-elf-gcc

nope, but i386-elf-gdb is available instead of i686-elf-gdb, I think. That's what I used

@ge1mina023
Copy link
Author

ge1mina023 commented Jul 19, 2022

Is there anything else I need to do besides brew install i686-elf-gcc

nope, but i386-elf-gdb is available instead of i686-elf-gdb, I think. That's what I used

@firestar4204 Why didn't you use brew install i386-elf-gcc?

@firestar4204
Copy link

because it redirects you to x86_64-elf-gcc

@ge1mina023
Copy link
Author

ge1mina023 commented Dec 27, 2023

because it redirects you to x86_64-elf-gcc

Is there any solution for Lesson 24 for the same M1 MacBook pro?@firestar4204

@firestar4204
Copy link

It shouldn't matter (M1 macs don't support El Capitan), but just make sure to brew upgrade every once in a while

@ge1mina023
Copy link
Author

It shouldn't matter (M1 macs don't support El Capitan), but just make sure to brew upgrade every once in a while

@firestar4204 All I need to do is brew upgrade for lesson 24?

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

2 participants