Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 21994

How to compile GCC on macOS Catalina? [duplicate]

$
0
0

This question already has an answer here:

I am trying to compile GCC9 on macOS Catalina. The closest tutorial I've found is this one.

The tutorial states:

In order to build GCC install the required header files in the old location:

1 cd /Library/Developer/CommandLineTools/Packages/
2 open .

Command 1 doesn't work because my file structure is as follows:

 - Users/user/Library/Developer/Xcode
 - Users/user/Library/Developer/XCTestDevices
 - /Library/Developer/CommandLineTools/SDKs/
- /Library/Developer/CommandLineTools/Library/

The package directory is not available.

Also, as can be seen, the Library/Developer path associated with my user has no CommandlineTools, while that directly on Macintosh HD does.

Should I run the above commands from root /? Or should the CommandLineTools also be available directly to my user?


Viewing all articles
Browse latest Browse all 21994

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>