Skip to main content

Questions tagged [gcc]

GCC is the GNU Compiler Collection. It's the de facto standard C compiler on Linux and older versions of OS X.

0 votes
1 answer
138 views

I am trying to compile (from source, I am aware that there is a port but I need to compile from source) a library (GKlib) with MacPorts gcc14 on Sonoma 14.7,3. MacPorts is up to date I have set thing ...
gctwnl's user avatar
  • 762
1 vote
1 answer
328 views

On MacOS 14.2, typing either 'clang --version' or 'gcc --version' (or even 'cpp --version') returns the same: Apple clang version 15.0.0 (clang-1500.1.0.2.5) Target: arm64-apple-darwin23.2.0 Thread ...
shea's user avatar
  • 315
0 votes
0 answers
309 views

I am facing installing gcc-devel on my MacBook macOS Sonoma with macport. I am getting following error messages: Continue? [Y/n]: Y Portfile changed since last build; discarding previous state. --->...
user6737063's user avatar
1 vote
1 answer
272 views

I updated from 13.4 to 13.6.1 and reinstalled Xcode. I have installed gcc (which I believe includes g++) using Homebrew, and have made sure my Homebrew installation is up to date. When I g++ foo.cpp, ...
rogerl's user avatar
  • 193
2 votes
0 answers
217 views

I'm on Intel Mac running the latest Monterey. Already have GCC 13 installed using Homebrew. I'm trying to build sectorlisp. Unfortunately still fails, because as (the LLVM assembler) rejected it. ...
anta40's user avatar
  • 279
0 votes
1 answer
109 views

I'm trying to build xfce4-dev-tools on macOS Monetary. to build and install xfce4 desktop environment. im a total noob when it comes to building c/c++ programs. Following the steps - cloned the repo, ...
janithcooray's user avatar
1 vote
0 answers
67 views

I just upgraded to an Apple Silicon (M2) box, and both gcc-13 (installed via HomeBrew) and clang produce segfaults on just about anything. I don't know how to debug that and figure out what is going ...
rogerl's user avatar
  • 193
7 votes
4 answers
9k views

I have used the g++ command on the terminal to compile C++ programs but all of a sudden, after an update to my Mac's OS (to macOS 13.3 Ventura,), I started receiving the message: againtest.c:6:10: ...
baseptr256's user avatar
1 vote
0 answers
106 views

I'm trying to build an SFML sample without xcode (for reasons :-)). The prebuilt samples comes with: pong> otool -L pong pong: @rpath/sfml-audio.framework/Versions/2.5.1/sfml-audio (...
Jeffrey's user avatar
  • 111
6 votes
1 answer
3k views

Yesterday I upgraded my Command Line Tools to version 14.2, and my macOS version to Ventura 13.1. When I tried to include bits/stdc++.h inside a C++ file and compile it, it gave me this error: fatal ...
J Muzhen's user avatar
  • 201
3 votes
2 answers
2k views

I want to use the gnu compiler collection instead of the x-code compiler to compile some bioinformatics tools on the mac, which did compile on Linux but fails to build on macOS. I did install homebrew ...
witek's user avatar
  • 131
1 vote
1 answer
459 views

Given the following problem when trying to install gdb, which demands gcc6, which ridiculously requires gcc7, which refuses to compile under Xcode: Error: To install this port upgrade Xcode to 11.3 or ...
eruciform's user avatar
  • 131
3 votes
0 answers
358 views

Since macOS uses Clang, you'd expect that gcc wouldn't be a valid command/executable, but macOS has a gcc executable that's exactly the same as clang. 5f42128bc6a36bf22b44d4d69e18ee6daff6178b /usr/...
UnicornsOnLSD's user avatar
0 votes
0 answers
1k views

I have Mac OS 11.2.3 (the new MacBook Air) I am trying to install gcc version 7 using the command: brew install gcc@7 However, I get the following error: gcc@7: The x86_64 architecture is required for ...
dbrane's user avatar
  • 161
12 votes
4 answers
30k views

Hi I'm trying to install NTFS-3G on macOS BigSur but every time I run brew install ntfs-3g it reports Error: ntfs-3g has been disabled because it requires FUSE!. Obviously I've already installed ...
Matteo's user avatar
  • 121

15 30 50 per page
1
2 3 4 5
8