[gnu.gcc.bug] using gcc as a cross-compiler

srg@quick.com (Spencer Garrett) (09/14/89)

I don't know if you will consider this a bug....

I NEED to produce 68000 and 68020 executables.  (for embedded systems)
I WANT to replace my 3/50 with a SparcStation I.

I tried compiling gcc over at the local Sun office the other day.
I first did "config.gcc sun4-os4", compiled using the Sun compiler,
made stage1, recompiled gcc, and made stage2.  All was well.
Next, I did "config.gcc sun3-os4" and recompiled using the
executables in stage2, taking only the cc1 from this pass.
The combination of sun4 gcc and cpp with a sun3 cc1 core dumps
immediately when I try to compile anything with it, complaining
about a "Signal 6", I think.  It was late and the Sun guys wanted
to go home, so I wasn't able to chase it any farther that day.
If this is something you think ought to work, I'll be happy to
chase it further and report back.  (gas works fine, by the way)
If you think this is an exercise in futility, I'd appreciate
hearing that, too.
			Thanks,
				spencer