[asterisk-dev] off topic: OS/X: Where's the GCC?

Fernando Romo pop at cofradia.org
Tue Oct 1 09:49:46 CDT 2013


i compile Asterisk 11 on OS X. you need to download the "XCode Command line utilities". is the gcc compiler and tools on Snow Leopard and newer versions of OS X

best regards... Fernando "El Pop" Romo

> On Oct 1, 2013, at 8:56 AM, "Olle E. Johansson" <oej at edvina.net> wrote:
> 
> Thanks for the feedback Tilghman and Paul!
> I must have been running a homebrew version of gcc, since I happily built Asterisk 1.8 on this machine and ran it.
> 
> Will dig through my backups and see if I can find what I had :-)
> 
> /O
> 
>> 1 okt 2013 kl. 15:46 skrev Tilghman Lesher <tilghman at meg.abyt.es>:
>> 
>> You didn't.  On OS X, clang has had a gcc frontend since at least Snow
>> Leopard.  Unfortunately, it's hardcoded to a specific version of gcc
>> (4.2), and it's unlikely to advance.  As soon as Asterisk starts
>> depending upon a feature of gcc beyond 4.2, it will be broken
>> permanently, unless you install an independent port (like from
>> MacPorts).
>> 
>>> On Tue, Oct 1, 2013 at 8:02 AM, Olle E. Johansson <oej at edvina.net> wrote:
>>> Friends,
>>> 
>>> Just re-installed my Macbook after switching hard disk drive and motherboard. GCC now seems to be an alias for clang and I can't compile Asterisk anymore...
>>> 
>>> I don't remember if I ever did anything else - but I must have gotten a proper GCC somewhere from. What's the easiest way to re-install an Asterisk-compatible GCC?
>>> 
>>> Thanks,
>>> /O
>>> --
>>> _____________________________________________________________________
>>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>> 
>>> asterisk-dev mailing list
>>> To UNSUBSCRIBE or update options visit:
>>>  http://lists.digium.com/mailman/listinfo/asterisk-dev
>> 
>> -- 
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>> 
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>  http://lists.digium.com/mailman/listinfo/asterisk-dev
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list