|
From: | Bill Northcott |
Subject: | Re: Problems with gcc when trying to build base on MacOS-X |
Date: | Tue, 20 Jan 2004 15:30:38 +1100 |
On 17 Jan 2004, at 18:23, Richard Frith-Macdonald wrote:
AFAIK, you should be able to build GNUstep with the current Apple compiler, but you may have trouble at execution time with nested method calls. If you apply Andrew Pinski's patch for BUG 11754 ( http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11754) to Apple sources for Panther/Darwin7.2 and use that compiler, it should even build code that works. (It certainly builds working Swarm libraries)This implies that there is a problem with the newly built compiler ... it can't compile libgcc etc. Anyone know about this problem and how to fix it?Yes by not using 3.2.2, there is bug in every GCC up till 3.3.2 for Darwin which was not noticed until Apple changed their asm to be more correct and error out here.Thanks ... I tried 3.3.2 and it builds fine ...I guess the instructions at http://www.gnustep.org/information/machines_1.html#SEC2 need to be updated.
If you would like a binary installer package for the patched compiler drop me an email.
It is possible that more recent versions of the CVS code for the Apple compiler will also work. However, I have not had an attempt to test this and because the core ObjC parser code has been rewritten the patch mentioned above is not applicable.
Bill Northcott
[Prev in Thread] | Current Thread | [Next in Thread] |