Subject: Cross compiling under MkLinux
To: None <port-mac68k@NetBSD.ORG>
From: Michael R. Zucca <mrz5149@cs.rit.edu>
List: port-mac68k
Date: 03/30/1997 13:46:00
While setting up a cross-compiler with 2.7.2.2 I've been having trouble
compiling the kernel. I don't know if this is a 2.7.2.2 problem but I couldn't
get gas to assemble the output of asm2gas .s files. I'm not sure if this is
a problem with asm2gas or what but it seems to choke on labels like:

1:
(I found this in m68k/fpsp/netbsd.s)

and it also seems to have a problem with the floating point notation:

#:xxxxxx

I can't understand this since we're obviously using gnu binutils and gcc
under NetBSD but the silly thing won't go under my 2.7.2.2 compile!

Does anybody know if there have been signifigant changes to gas since the
2.7.2 release? (Well, I suppose binutuils and gcc use different versions but
you get the idea)

The makefile also has difficulty compiling genassym. First of all, it tries to
link it with the cross-linker using $(CC) instead of $(HOSTED-CC). Second
of all it tries to do as using the cross tools because even though HOST-CC
is absolute pathed out to the local compiler the main PATH points to the cross
tools. I had to compile the silly thing by hand. Can't we make this a shell
script?

However, the gas problem seems to be holding me up most of all. The cross gcc
seems to be making code OK.

Wow, what a speed improvement, though! It took my PowerCenter 132 about 1 minute
to make depend while my IIvx took hours! I would *really* love to get this
going so that when I get 3 free seconds to finish the intvid kernels I can
work on code instead of waiting for recompiles!


_______________________________________________________________________
 Michael Zucca - mrz5149@rit.cs.rit.edu - http://www.rit.edu/~mrz5149/
 "I will choose a path that's clear. I will choose Freewill. "
  --Rush, Freewill
_______________________________________________________________________