gambit-scheme doesn't use correct compiler after installed #17099
Comments
Does it work with |
I'm on mountain lion, and I have no idea where I would put --env=std. For example, compiling a file is:
Like, maybe,
? |
|
That works and detects the correct gcc. Is there a way to get the formula to do something like that when --use-gcc is passed? Or should this just be documented? |
We can add The default env is called "superenv", and uses tricks to force our use of compiler+flags through any binary invocation, which is what is confusing GS here. |
OK, I'll make a pull request. I think this is wise because using gambit On Tue, Jan 15, 2013 at 3:21 PM, Adam Vandenberg
|
gambit-scheme needs to refer to the compiler that built it after it's installed. This seems impossible the way homebrew is designed right now. The formula has no access to real compilers (and therefore configures compile flags in a very strange way that works for neither clang nor gcc), and either clang or gcc is used.
This is when installed with --use-gcc.
It encodes the compiler into the
gambc-cc
script. Manually changing it to gcc 4.2.1 produces warnings because flags were detected incorrectly.The text was updated successfully, but these errors were encountered: