discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple gcc 3.1 under Linux (was: Re: Cocoa To GnuStep port questions)


From: Pedro Ivo Andrade Tavares
Subject: Apple gcc 3.1 under Linux (was: Re: Cocoa To GnuStep port questions)
Date: Thu, 14 Mar 2002 01:59:21 -0300

At 21:41 11/3/2002, Stan Shebs wrote:
What timing!  I've been working today on checking out how our gcc3
builds on Linux.  There are at least a half-dozen mistakes I've
found so far, nothing really difficult to fix yet, but the stage 2
compiler segfaults on some files and I'm still debugging that one.

What did you change to get it to stage 2? My trial run is dying after building the stage1 compiler...

Some changes I've made: on gcc/pfe/pfe-mem.c, I had to undefine APPLE_MAC_OS_X_IMPLEMENTATION, so it would not try to include Mach headers. Also, I ended up passing -UTARGET_MACHO on CFLAGS (solves a bunch of files trying to include Mach-O support), and commenting a lot of APPLE_LOCAL changes only applicable to Darwin (for example, a flag about building M68K stuff). Small stuff, mostly; no changes other than commenting code that doesn't compile.

However, on the first file that it tries to build with xgcc, it dies with an Assembler error message. Does it require Apple's version of as?

If anybody is wondering why Apple is doing this, it's so we can
test out portability of both ObjC++ and PFE stuff.

I'm very glad to hear that... I hope I can be compiling ObjC++ code on my Linux box soon!

Pedro Ivo Tavares




reply via email to

[Prev in Thread] Current Thread [Next in Thread]