www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - SFML gcc - MacOS

reply Joel <joelcnz gmail.com> writes:
In getting DSFML (http://dsfml.com/) working. I found gcc takes 
for ever to install, is there some thing wrong? (I posted in 
https://github.com/Jebbs/DSFML, but no replies). Maybe just 
install Xcode CLT (some how), and uninstall gcc. I've had this 
problem for a while now.

I would appreciate any help.

==> Upgrading gcc
Warning: Building gcc from source:
The bottle needs the Xcode CLT to be installed.
==> Downloading 
https://ftpmirror.gnu.org/gcc/gcc-6.3.0/gcc-6.3.0.tar.bz2
Already downloaded: 
/Users/joelchristensen/Library/Caches/Homebrew/gcc-6.3.0.tar.bz2
==> Downloading 
https://raw.githubusercontent.com/Homebrew/formula-patches/e9e0e
Already downloaded: 
/Users/joelchristensen/Library/Caches/Homebrew/gcc--patch-863957f90a934ee8f89707980473769cff47ca0663c3906992da6afb242fb220.patch
==> Patching
==> Applying 6.1.0-jit.patch
patching file gcc/jit/Make-lang.in
==> ../configure --build=x86_64-apple-darwin16.1.0 
--prefix=/usr/local/Cellar/gc
==> make bootstrap
Apr 15 2017
parent reply Jacob Carlborg <doob me.com> writes:
On 2017-04-16 03:52, Joel wrote:
 In getting DSFML (http://dsfml.com/) working. I found gcc takes for ever
 to install, is there some thing wrong? (I posted in
 https://github.com/Jebbs/DSFML, but no replies). Maybe just install
 Xcode CLT (some how), and uninstall gcc. I've had this problem for a
 while now.

 I would appreciate any help.
For macOS I highly recommend installing Xcode from the app store and install the command line developer tools (xcode-select --install). -- /Jacob Carlborg
Apr 16 2017
parent reply Joel <joelcnz gmail.com> writes:
On Sunday, 16 April 2017 at 07:53:49 UTC, Jacob Carlborg wrote:
 On 2017-04-16 03:52, Joel wrote:
 In getting DSFML (http://dsfml.com/) working. I found gcc 
 takes for ever
 to install, is there some thing wrong? (I posted in
 https://github.com/Jebbs/DSFML, but no replies). Maybe just 
 install
 Xcode CLT (some how), and uninstall gcc. I've had this problem 
 for a
 while now.

 I would appreciate any help.
For macOS I highly recommend installing Xcode from the app store and install the command line developer tools (xcode-select --install).
I've got Xcode, do I enter `xcode-select --install` in the terminal?
Apr 16 2017
parent reply Jacob Carlborg <doob me.com> writes:
On 2017-04-16 10:11, Joel wrote:

 I've got Xcode, do I enter `xcode-select --install` in the terminal?
Yes. That will get you access to Clang, the linker and other tools on the command line. It will also create /usr/include needed to build C/C++ code from the command line. -- /Jacob Carlborg
Apr 17 2017
parent Joel <joelcnz gmail.com> writes:
On Monday, 17 April 2017 at 08:48:06 UTC, Jacob Carlborg wrote:
 On 2017-04-16 10:11, Joel wrote:

 I've got Xcode, do I enter `xcode-select --install` in the 
 terminal?
Yes. That will get you access to Clang, the linker and other tools on the command line. It will also create /usr/include needed to build C/C++ code from the command line.
Thanks Jacob.
Apr 17 2017