Mac OS X on x86 Hardware 2008–2024 Technical Archive
InfiniteMac OSx86 › Snow Leopard 10.6 › (guide) How to compile with homebrew in AMD
4,731 reads · 2012-05-30
Guide Snow Leopard 10.6 AMD OSx86

(guide) How to compile with homebrew in AMD

I was having this problem, without this workaroung it is very likely that you (AMD user) won't be able to compile anything with homebrew. The thing that need to be done is: Open /usr/local/Library/homebrew/extend/ENV.rb and search for the…

Primary Author
@ghostec Published 2012-05-30
Collection
Snow Leopard 10.6
Archival Footprint
4,731 historical reads · 1 curated field notes (from 2 dispatches) · 2012-05-30
Credited Voices (1)
@ghostec (2)
Hardware Reference
AMD Desktop Processors ↗ SATA III & NVMe SSDs ↗ USB 3.2 Boot Flash Drives ↗

I was having this problem, without this workaroung it is very likely that you (AMD user) won't be able to compile anything with homebrew.

The thing that need to be done is:

Open /usr/local/Library/homebrew/extend/ENV.rb and search for the lines starting with set_cpu_cflags then comment with a # before or change the entire line to set_cpu_cflags "arch -i386"

This way it won't be needed to edit formula by formula of the programs you want to compile and you will be able to use homebrew.

Synthesized Community Field Notes

1 technical responses curated from 2 original dispatches

Sources & Contributor Provenance (1 credited usernames · Thread #7698)
UsernameDossier ContributionDispatchesActive Window
@ghostecPrimary Author22012-05-30

Choose your language