egcs and binutils cross compiling
Alex,
I certainly don't know what I talking about, but bear with me for a moment. Why does the ELF header structures need to change? I thought that one of the core strengths to Linux is the 99% code compatibility. AFAIK, one of the original reasons to switch to ELF from a.out in the i386 community to become closer to "mainstream" UNIX binary structures.
I understand that the Mach microkernel is a different underlying structure then a monolithic kernel, but why is MkLinux and monolithic Linux THAT much different in userspace? If the ELF headers are different, then no MkLinux binary would work on a HPPA monolithic system. I can understand vast low-level differences between monolithic and Mklinux, but userspace binaries should be the same.
I realize that I am probably missing the point. However, fragmentation of Linux is something that I am against from the ground level.
Todd Smith <[email protected]>
Systems Analyst
Charleston Area Medical Center
-----Original Message-----
From: Alex deVries [mailto:[email protected]]
Sent: Friday, February 19, 1999 2:16 AM
To: [email protected]
Subject: Re: [hppa-linux] egcs and binutils cross compiling
Quoted 2 lines
Also, Paul is changing the ELF header structure significantly between mklinux and *real* linux, so we're getting close to having to just
abandon
Quoted 1 line
all of mklinux.
----------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.
Quoted 5 lines · Todd
I certainly don't know what I talking about, but bear with me for a moment. Why does the ELF header structures need to change? I thought that one of the core strengths to Linux is the 99% code compatibility. AFAIK, one of the original reasons to switch to ELF from a.out in the i386 community to become closer to "mainstream" UNIX binary structures.
The current idea is to make the kernel data structures as similar to
HP-UX as can be without changing the core OS. This means we would need an MkLinux compatibility layer to map from MkLinux structures to Linux/HPPA structures. The other point is that the MkLinux ELF structure is MkLinux only. All the other OSes that run on HPPA (Lites, RTEMS) seem to use a different layout. If we move to this layout, it means we can use a pretty much standard egcs / binutils for Linux/HPPA. Since we will be going w/ glibc (not libc) and the port will be based on 2.2 (and moving to 2.3 when needed) the kernel structures will change to accomodate larger uid/gid (unless MkLinux already has the larger uid/gids).
Also, I am aware of little (if any) non-open source packages that
run under MkLinux and since this port aims to run on at least all the MkLinux supported hardware, there aren't many big reasons to worry about MkLinux compatibility.
- Paul
----------------------------------------------------------------------
To unsubscribe: send e-mail to [email protected] with `unsubscribe' as the subject.