Download link: GCC 15.2
This is an installer for GCC 15.2.
System Requirements:
- Mac OS 10.8 to 10.12.
- x86-64 CPU
It comes with compilers for these languages:
- C
- C++
- Objective-C
- Objective-C++
- Fortran
- Modula-2
Included software:
- cctools 949.0.1
- gcc select 0.1
- gcc 15.2.0
- gcc 15 libcxx
- gettext runtime 0.22.5
- gmp 6.3.0
- isl 0.24
- ld64 3
- ld64 274
- libcxx 5.0.1
- libedit 3.1
- libffi 3.4.8
- libgcc15
- libiconv 1.17
- libmpc 1.3.1
- llvm select 2
- llvm 3.7
- lz4 1.10
- mpfr 4.2.2
- ncurses 6.5
- xz 5.8.1
- zlib 1.3.1
- zstd 1.5.7
Notes:
- Software is installed to /opt/local/bin
- The C++ compiler is called g++-mp-15
Test program to test the C++ compiler:
Directions:
1) Save the above program to a file called main.cpp.
2) Run this command to build and test the program: /opt/local/bin/g++-mp-15 -o program main.cpp && ./program
The output should be the program itself.
This is an installer for GCC 15.2.
System Requirements:
- Mac OS 10.8 to 10.12.
- x86-64 CPU
It comes with compilers for these languages:
- C
- C++
- Objective-C
- Objective-C++
- Fortran
- Modula-2
Included software:
- cctools 949.0.1
- gcc select 0.1
- gcc 15.2.0
- gcc 15 libcxx
- gettext runtime 0.22.5
- gmp 6.3.0
- isl 0.24
- ld64 3
- ld64 274
- libcxx 5.0.1
- libedit 3.1
- libffi 3.4.8
- libgcc15
- libiconv 1.17
- libmpc 1.3.1
- llvm select 2
- llvm 3.7
- lz4 1.10
- mpfr 4.2.2
- ncurses 6.5
- xz 5.8.1
- zlib 1.3.1
- zstd 1.5.7
Notes:
- Software is installed to /opt/local/bin
- The C++ compiler is called g++-mp-15
Test program to test the C++ compiler:
Code:
// Description: demonstrates the #embed feature of gcc 15 by printing the contents of this file
// Build: g++-mp-15 -o program main.cpp && ./program
#include <iostream>
using namespace std;
char code[] = {
#embed "main.cpp"
};
int main()
{
cout << "\nThis entire program:\n\n" << code << endl;
return 0;
}
Directions:
1) Save the above program to a file called main.cpp.
2) Run this command to build and test the program: /opt/local/bin/g++-mp-15 -o program main.cpp && ./program
The output should be the program itself.