Subject: Re: Binutil grip
To: Michael R Zucca <mrz5149@cs.rit.edu>
From: John P. Wittkoski <jpw@netscape.com>
List: port-mac68k
Date: 06/02/1997 17:21:49
Michael R Zucca wrote:

> This is probably a little off topic but I'm just wondering what in the heck
> is wrong with the standard GNU distribution of gcc and binutils?
> 
> The fact that we use bastardized versions of this software is the reason
> a good cross-compiler setup is so hard to do. I made a serious effort at this
> but I gave up after I tried compiling gas from the source tree. It just
> isn't friendly to compile anywhere else but on NetBSD on the machine it's
> supposed to be working on.

I've been following this thread with interest and I am confused.
Hopefully, someone can clear my sleep-deprived brain...

Are we talking about a mac68k hosted cross compiler or another 
machine hosting a mac68k cross compiler?

Because I've got a SPARC based mac68k cross compiler set up. It
works pretty well as long as you don't try to compile any shared
libraries, which generates errors like the following:

> {standard input}:1232: Error: operands mismatch -- statement `jbsr _XtGetGC,a1' ignored

It looks like the GNU cross assembler for 68k isn't understanding the 
relative jump (?) assembler statements. (Or maybe gcc is generating the
wrong thing?)

But if I avoid shared libs I'm ok and can compile things properly
that run under NetBSD/mac68k. I haven't tried compiling the kernel
yet this way, however.

	--John