On Thu, Feb 27, 2014 at 12:55:43PM -0600, David M. Lee wrote:
> Asterisk requires GCC to build properly. The most recent version of Xcode 
> symlinks gcc to Clang’s compiler. Which is… unfortunate.
> 
> I install GCC myself (gcc-4.8 for 12 and trunk; gcc-4.2 for 11 and earlier) 
> for compiling Asterisk on OS X. Both are easily installed via Homebrew (brew 
> install apple-gcc42 gcc48), and work fine for me.
> 
> You select the compiler by setting CC and CXX in the environment when you 
> invoke configure:
> 
>   CC=gcc-4.2 CXX=g++-4.2 ./configure

The two messages there seem to be valid at first glance. Specifically,
can we please please please get rid of -O6?

That said, you can work around the latter by providing your own CFLAGS.

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com

-- 
_____________________________________________________________________
-- 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

Reply via email to