-
Notifications
You must be signed in to change notification settings - Fork 21
Atom linter-gcc not working on mac os #62
Comments
SolvedSelf Update (for other curious users / people with the same problem) xcode had installed its own gcc version which was probably beeing masked by clang even though it appeared in the ''which gcc'' path. |
@pwnywiz huge help for me!! thank you!! |
This is really useful information. I think I'll add it to the readme |
Thanks. Huge help here! 👍🏻 |
I have set things up as described in this issue. Things are working fine except the following error I am getting.
Anyone had a similar problem? |
Yes I have the same issue, except it is clang -cc1as (not -cclass). It says it is trying to open the name of my file with a ".o' extension, despite that I have saved it as a ".c" file. |
It disappears when I add -fsyntax-only to C++ flags. It will not disappear when I add -fsyntax-only to C flags. My gcc is /usr/local/bin/gcc-6 installed with homebrew. |
I am having the same issue as @ayberkt , I tried everything but I can't fix it.. I keep getting this error:
Can anyone help with this? |
Hi, I'm still getting an error message in Atom: linter-gcc: Executable not found So, the solution proposed is not fixing the issue even tho it would make perfect sense. |
Ok, it was fixed by adding the gcc path "/usr/local/opt/gcc/bin/gcc-6" to /etc/paths file. |
I also getting Thanks |
Same here! |
Oh it works now.
I think I did something wrong in settings.
Thank you.
Linh
…On Wed, Jun 28, 2017 at 8:34 AM, Isaac Bondoc ***@***.***> wrote:
How exactly, do you pass the executable path to settings of linter-gcc
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#62 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVwHvgKhw9Iyor7S2rDVbsO2WiEw5tMuks5sIlZbgaJpZM4IqFJI>
.
--
Nguyen Ba Linh,
Interactive Learner.
|
I am getting
Any one have solved it? |
Hey, I have solved above issue using following command 👍
|
I installed gcc 8.1.0 via homebrew and added Anybody can help me with this problem ? Thanks you |
@lamhoangtung And for any MacOS users that have made it this far and are still getting a clang error with all the correct linter and path settings, add the -o /dev/null argument to the C flags settings. |
I wanted to use this package for linting C files so I installed gcc with hombrew. Thus I set "*":
# ...
"linter-gcc":
execPath: "gcc-8"
# ... |
I believe that the following sentence could make sense. |
Still cannot get linter-gcc to work on Mac OS X . Is there a step by step instuction for noobs :)) thx |
Linter-gcc doesn't work at all, Mac OS or not, try with this one : Linter-gcc2 |
@brankoto I know this is really late, but i had the same issue this week, just add the flag |
Hi,
I've been using linter gcc on linux for a good time, helping me out quite a lot but when i tried to download it on mac os, it simply doesnt want to cooperate. My machine tries to use clang instead even though I've passed the path of my gcc compiler.. Is there any way to switch over to gcc instead of downloading the clang linter?
Thanks a lot
The text was updated successfully, but these errors were encountered: