[sylpheed:24519] Re: Building SVN Version
Emily Jackson <m5computing <at> earthlink.net>
2005-04-01 00:18:47 GMT
On Fri, 1 Apr 2005 01:45:58 +0200
Alfons Hoogervorst <alfons <at> proteus.demon.nl> wrote:
> On 31-03-05 (Thu) 07:53 -0600 Emily Jackson wrote:
> | configure options. Also, the configure file has to be patched for
> | Sylpheed to build on Mac OS X ("-traditional-cpp" has to be replaced
> | with "-no-cpp-precomp"), or else the compiler will crash.
> Check configure.in and change the CFLAGS in the "*-darwin*) case at
> your discretion.
> You might as well tell us what compiler / preprocessor version you
> are using, because it seems to me that the -traditional-cpp was put
> there on purpose.
It's Apple's build of gcc 3.3. Judging from this paragraph from "Mac OS
X for Unix Geeks", -traditional-cpp may have been appropriate with
earlier versions of OS X, but is not any more:
> Apple's compiler provides two preprocessors. The default preprocessor
> for both C and Objective-C is the precompilation preprocessor written
> by Apple, named cpp-precomp. The standard GNU C preprocessor, named
> cpp, is also available and is the default for Objective-C++ code. cpp-
> precomp supports precompiled header files (for more information about
> cpp-precomp and general precompilation, see Chapter 9). cpp-precomp
> is faster than cpp, but some code may not compile with cpp-precomp.
> In that case, you should invoke cpp by instructing cc not to use cpp-
> precomp. For example, to compile the C program myprog.c using the
> standard GNU preprocessor, cpp, use the -no-cpp-precomp switch as