www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/12/22:42:40

From: Mike Little <MikeL AT amprsoft DOT demon DOT co DOT uk>
Subject: Re: COFF and ELF exec formats
Message-ID: <844985924snz@amprsoft.demon.co.uk>
References: <Pine DOT SUN DOT 3 DOT 93 DOT 960922124049 DOT 380A-100000 AT napier DOT uwaterloo DOT ca> <524dag$q3n AT lastactionhero DOT rs DOT itd DOT umich DOT edu> <844212071snz AT amprsoft DOT demon DOT co DOT uk>
Date: Thu, 10 Oct 96 22:18:44 GMT
Organization: Ampersoft &
Reply-To: MikeL AT amprsoft DOT demon DOT co DOT uk
Lines: 55
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <844212071snz AT amprsoft DOT demon DOT co DOT uk>
           MikeL AT amprsoft DOT demon DOT co DOT uk "Mike Little" writes:

> 
> In article <524dag$q3n AT lastactionhero DOT rs DOT itd DOT umich DOT edu>
>            hasdi AT umich DOT edu "Hasdi Rodzmann Hashim" writes:
> 
> > Kevin Moule (krmoule AT undergrad DOT math DOT uwaterloo DOT ca) wrote:
> > 
> > : The best thing about all this is that its already been implemented
> > : for linux, and would require only a port to DJGPP. But this gets
> > : back to my original message, is it possible and/or practical to
> > : port this to DJGPP?
> > 
> > possible? yeah. practical? Well, until you have the elf-executable loader
> > that works in DOS, there is little reason for djgpp to generate ELF
> > binaries and shared libraries. Heck, you can generate ELF binaries and
> > shared libraries from other platform such as gcc under Linux. It's just
> > the elf loader that needs to be made/worked on.
> > 
> > Is there one in progress? I might be willing to pitch in.
> > 
> > Later.
> > 
> > Hasdi
> > 
> 
> I would be really interested in DJGPP supporting ELF.
> 
> I've just implemented a dynamic linker/loader for ELF format files for the 
> Power PC. This is for an embedded OS using the Metaware compiler. 
> 
> I will have to speak to my employer's and if they are willing, I would be
> willing to help in implementing a loader. I 'only' need help with allocating 
> and protecting memory in DPMI mode. I could probably do the rest. According
> to the specs 386 ELF is much simpler than PPC (2 fixup types as opposed
> to 20+).
> 
> I'll ask at work and post back.
> 
I asked, and they don't have any objection.
Has anyone any information on how easy/hard it will be to put the ELF
support back into the compiler and tools?

I'm going to look at the COFF loader stub source in the next few days
to see what the job  entails.

Soon,
Mike

sig ======================================================================
Mike Little <MikeL AT amprsoft DOT demon DOT co DOT uk> http://www.amprsoft.demon.co.uk
PGPID:1024/8936BCF9 Fngrprnt:66 01 0E 95 31 20 CA 1B-E5 21 DB 31 ED E1 EC 6B
PGPID: 512/FA2EE3BB Fngrprnt:C0 40 ED FF D0 E8 57 D7-B0 66 DB B8 31 14 32 12
finger MikeL AT amprsoft DOT demon DOT co DOT uk for PGP public keys (part-time connection)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019