Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

How properly change compiler? #9

Closed
3 tasks done
svetlov opened this issue May 2, 2016 · 1 comment
Closed
3 tasks done

How properly change compiler? #9

svetlov opened this issue May 2, 2016 · 1 comment
Assignees

Comments

@svetlov
Copy link

svetlov commented May 2, 2016

Please follow the general troubleshooting steps first:

  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports:

logs - http://pastebin.com/iMT9sDT3 ,
gcc/cc outputs - http://pastebin.com/8TQs04Db

i'm trying to install new glibc on ubuntu 12.04, but threre's bug with glibc and gcc-4.7. I tried to change compiler with -cc option, but have no luck. Unfortunately, i haven't sudo on this server. Any idea, how can i fix it?

@sjackman
Copy link
Member

sjackman commented May 2, 2016

You need two hyphens. brew install --cc=gcc-4.6
Please report brew gist-logs glibc to https://github.com/Linuxbrew/homebrew-core/issues

@sjackman sjackman closed this as completed May 2, 2016
@sjackman sjackman self-assigned this May 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants