This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: m68k problem and libstdc++


On Thu, Jan 03, 2002 at 07:55:03PM -0500, Craig Rodrigues wrote:
> I'm not a 68000 asm expert.  Does anyone have an idea as
> to what the fix could be?

Some preprocessor hackery and or configure hackery.

Virtually all real operating systems don't support anything less
than 68020, because that's the first one that had a built-in mmu.
There are some very antiquated exceptions which are notable only
in the amazing jumped through to bolt an mmu on the side.

So we have to identify which m68k targets are for embedded 
operating systems and which might possibly run on a true 68000.
We then have to see what preprocessor macros are defined, to see
if we can distinguish between 68000 and 68020.  This will be very
nasty because there's little or no uniformity here.

Alternately, we force those targets to use config/cpu/generic.

Alternately, we list those targets that cannot run on 68000 and
don't make m68k-*-* do anything.

Probably the last is easiest.


r~


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