Macports works, but be warned that if you use rtti, (exceptions,
dynamic casting), make sure that you only link against C++ libraries
using the same compiler.  Macports errantly uses its own system
libraries in its compiler's.

Juan

On Fri, May 6, 2011 at 10:04 AM, Sean McBride <[email protected]> wrote:
> On Fri, 6 May 2011 10:51:57 -0400, Michael Allen said:
>
>>I've installed a newer version of gcc because the version supplied by
>>Apple is so far out of date, but I don't know how to configure cmake
>>such that it uses the normal gcc flags instead of the
>>Apple specific flags. Is there a way to configure cmake to use the
>>appropriate flags even though I'm not using the "normal" compiler?
>
> IMHO, a Mac compiler that does not recognise -arch is pretty broken.
> Where did you get it?  I think if you use macports or fink you can get a
> newer gcc that recognises the normal/typical flags.  Another option is
> to use clang, which comes with recent versions of Xcode.
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng                 [email protected]
> Rogue Research                        www.rogue-research.com
> Mac Software Developer              Montréal, Québec, Canada
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to