Subject: Re: Linux ABI translation (was 1.5.2 kernel)
To: Frederick Bruckman <fredb@immanent.net>
From: John Klos <john@sixgirls.org>
List: port-mac68k
Date: 02/13/2002 21:01:18
Forgive our rambling.. this WILL help NetBSD... eventually...


> > options         COMPAT_AOUT_M68K
>
> What's COMPAT_AOUT_M68K for? You have built an ELF toolchain on
> Amiga???

Sorta. I have an ELF kernel compiled from -current with a snapshot of the
new toolchain (gcc 2.95.3), and without the COMPAT_AOUT_M68K none of my
old binaries would work.

I'm trying to get the toolchain to build itself natively;
m68k--netbsdelf versus m68k-unknown-netbsdelf, toolchain2netbsd, gdb, and
all sorts of other things are causing problems.

Right now I can only build everything up to gdb; it stops in
/gnu/usr.bin/gdb/gdb.new.

> root@deduction-> uname -v
> NetBSD 1.5ZA (DEDUCTION) #5: Mon Feb 11 21:28:10 CST 2002
> root@deduction.immanent.net:/s/src-current/sys/arch/mac68k/compile/DEDUCTION
> root@deduction-> file pi_css5_m68klinux/pi_css5
> pi_css5_m68klinux/pi_css5: ELF 32-bit MSB executable, Motorola 68000,
> version 1 (SYSV), statically linked, stripped
> root@deduction-> ./pi_css5_m68klinux/pi_css5 100
> Calculation of PI using FFT and AGM, ver. LG1.1.2-MP1.5.2a.memsave

Yah. Works for you. I don't think it's the fact that I have a 68060, but
rather the fact that the Amiga port uses 8k pages, and the Mac port and
m68k Linux use 4k pages.

I'll have to do some more testing, though.

If you'd like to help, though, I can give you a shell on this system...

John Klos
Sixgirls Computing Labs