nativeos / homebrew-i386-elf-toolchain

Homebrew formulas for buildling a valid GCC toolchain for the i386-elf target.
88 stars 19 forks source link

Please update gcc to the latest version #7

Closed ITzTravelInTime closed 4 years ago

ITzTravelInTime commented 4 years ago

Hi, i have created a program which requires gcc 9 to be compiled and so this formula doesn't allow me to do it since it's gcc is on version 7, so i needed to create my own fork to do it, here it is: https://github.com/ITzTravelInTime/homebrew-i386-elf-toolchain/

please update your repo, so i don't need to work and then tap

danirod commented 4 years ago

Okay, the thing is that I soft-deprecated this repo last year because i386-elf-gcc and i386-elf-binutils landed in homebrew-core with bottles to make the installation process smoother.

However, it seems that they have changed the formula recently to add x86_64 support in https://github.com/Homebrew/homebrew-core/pull/47935, so the binaries are renamed to x86_64-elf-gcc but they claim that it is still multilib so it should be able to provide i386-elf binaries too.

Anyway, I haven't got time to test this on my own 32-bit toy kernel so I don't know at this moment if this is a real regression for building 32 bit ELF images. Therefore I cannot trust the homebrew-core formula at the moment. Therefore it might not be the best moment to fully-deprecate this repo.

Would you be willing to send a pull request to merge your updated formulas upstream?

danirod commented 4 years ago

Would you be willing to send a pull request to merge your updated formulas upstream?

Nevermind, I did not know that I, as the upstream author, can open pull requests based on forks of the repo itself. I'll merge this myself.

Thanks for the heads up!

ITzTravelInTime commented 4 years ago

Thank your for the update, and wiredly enought homebrew defaulted to your repo when i wanted to install i386-elf-gcc and i386-elf-binutils, since the formula has been officially replaced with x86_64-elf-gcc x86_64-elf-binutils