This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to make trunk compile on m68k-next-nextstep3 with 3 = 3.2
- To: Jeff Law <law at cygnus dot com>
- Subject: Re: Patch to make trunk compile on m68k-next-nextstep3 with 3 = 3.2
- From: "Melissa O'Neill" <oneill at cs dot sfu dot ca>
- Date: Fri, 16 Oct 1998 16:03:37 -0700
- cc: Toon Moene <toon at moene dot indiv dot nluug dot nl>, EGCS-Patches<egcs-patches at cygnus dot com>
- References: <11631.908430855@hurl.cygnus.com>
Jeff writes:
> Do we have a site for the new assembler yet? I'd like to get this issue
> resolved and out of my todo list :-)
No, things aren't quite ready yet, but they will be soon. It turns out
that there are some issues with NeXT's assembler driver that need to
be addressed before I can make a package available.
Under NEXTSTEP, cross compiling is common, and so NEXTSTEP 3.3 contains
four assemblers (for m68k, sparc, hppa and i386). When you run /bin/as,
it looks for an `-arch' flag and selects the relevant assembler binary
(e.g. /lib/m68k/as). Unfortunately NeXT's driver, /bin/as, is hard coded
to search only /lib and /usr/local/lib (in that order!) for assembers.
This means that without a replacement assembler driver, you have to be
able and prepared to meddle with /bin. Not a satisfactory solution.
So, I decided to provide NeXT's binaries for the actual assemblers,
along with source code for the assembler driver that'll allow you to
set the search path. Unfortunately, NeXT's source code for the driver
was incomplete (a couple of trivial functions were missing) and rather
messy, so I had to fix that up. It was on my TODO list, but your
message moved things up and so I have the package ready to go now. I'll
give a copy to Toon to test, and if he okays it, it'll go up for ftp.
Regards,
Melissa.