On Nov 10, 2005, at 1:49 PM, Hammer Armin wrote:

Hi Michael,

Hello,

while I have not tried to compile lyx with gcc 4.0 on MacOSX the group I work in had some problems with that particular gcc. In our case updating to XCode 2.1 (which you get for free on the apple development website - caution download size is roughly 750M) solved our problems since it ships
with a gcc 4.0.2.

Hmm, are there multiple version of XCode Tools 2.1? The download I've
got from the Apple Dev Site is dated to june 6th 2005 and ships with gcc
4.0.0.

Gcc 4.0.2 was released on september 28th. Do you have a newer version
of XCode Tools 2.1?

Well, I had XCode 2.1 installed, which contains gcc-4.0 installer dated 5/27/05. Just to be sure, I downloaded XCode 2.1 again, installed, and everything is the same. Here's what gcc -v says:

Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure -- disable-checking --prefix=/usr --mandir=/share/man --enable- languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^+.-]*$/ s/$/-4.0/ --with-gxx-include-dir=/include/gcc/darwin/4.0/c++ -- build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 -- target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

Doing a bit of googling gets me this from <http://wiki.mozilla.org/ Mac:Build_Requirements>:

"The GCC 4.0 compiler that shipped with Xcode 2.0 (“build 4061”) is buggy and unable to build any Mozilla product. An updated GCC 4.0 is available with subsequent Xcode 2.x releases and works properly. Xcode updates are available from Apple Developer Connection (http:// connect.apple.com/)."

Michael, is this what you intended: the difference between the original gcc-4.0 build 4061 and the gcc-4.0 build 5026 I have?

Armin, have you built lyx-1.4.0cvs recently? I had built it in the past successfully, but that was a couple months ago. So I wonder if gcc-4.0.2 will solve my problem. (I'm inclined to stick with Apple's releases if possible.)

Thanks.

Bennett

Reply via email to