This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Darwin / Mac OS X native support, revised


On Wednesday, April 11, 2001, at 07:12 AM, Stan Shebs wrote:

>> I tried cvs binutils but it told me that
>> powerpc-apple-darwin1.3 was not supported. Do I need to find and 
>> build a
>> patched version of "Apple as" from somewhere?
>
> Although Apple's assembler is GAS, it's evolved separately for many
> years, and is actually part of a package called "cctools" that you
> can get from opensource.apple.com.  I sent the assembler patch to the
> Darwin list last week, but people have been having trouble with it, so

I checked out cctools from anoncvs.opensource.apple.com:/cvs/Darwin but 
it won't build:

cc -DM68K -DBUILTIN_MMUS -O -g -I.. -I../../include -I. -Wall 
-Wno-precomp -DNeXT_MOD 
-I/System/Library/Frameworks/System.framework/PrivateHeaders  -c -MD \
         -dependency-file ./messages.d -o ./messages.o ../messages.c
../messages.c:22: header file 'streams/streams.h' not found
../messages.c:76: undefined type, found `NXStream'
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make[2]: *** [messages.o] Error 1
make[1]: *** [a68_build] Error 2
make: *** [all] Error 2

There is no "PrivateHeaders" directory under 
/System/Library/Frameworks/System.framework/, and no "streams.h" 
anywhere on my machine.

Also, I found your patch in the Darwin archives, but it seems to have 
been completely mailer-mangled and unusable.

> I'll probably make a binary available as well.

That would be nice.

regards

   [ bryce ]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]