Subject: Re: Moving to ELF...
To: Ignatios Souvatzis <is@beverly.kleinbus.org>
From: Adam Ciarcinski <adam@pulstar.man.szczecin.pl>
List: port-amiga
Date: 02/27/2001 09:57:29
> If anybody wants to help:
> 
> * The m68k ELF has different structure alignment properties than m68k a.out, 
> which is identical to m68k AmigaOS in this respect.
> 
> Somebody should check all stuff passed between AmigaOS (loadbsd or bootblock)
> and kernel to see whether strange structures are involved. More about this
> issue can be found in the port-m68k archive at mail-index.netbsd.org.
> 
> * We'll need elf2aout or... err, scratch that, I did that last year for 
> the benefit of the amigappc project.
> 
> * somebody has to check whether a kernel compiled with the new toolchain 
> actually (compiles and) runs correctly.
> 
> Regards,
> 	-is

Ignatios,

Yesterday I cross-compiled the kernel on NetBSD-i386 with EXEC_ELF,
and most of the distribution with cross-m68k-netbsdelf.
It was the yesterday's source tree (SUP updated).

Good news:
- the kernel works fine, altough it is not a GENERIC one, but my own
  configuration; it executes ELF binaries
- dynamic libraries are working

Bad news:
- there are several problems with old-style assembler sources, especially in:
  * M68040 FPSP
  * gzip
  * sys/arch/amiga

- some executables are not working correctly, for example:
  * /bin/ls shows very big file sizes, the same does ftp
  * some programs crashes during system startup
  * when I try to compile something, I get "CPP: Memory exhausted"
    (no memory limit)

Thas was very quick investigation.  More to come.
Hoping you are doing well :)

	kind regards

		- Adam


P.S.: Permedia 2 textmode is on my screen :) - 80x60 60Hz