Mail Archives: djgpp/1998/05/18/08:32:49
Nate Eldredge <nate AT cartsys DOT com> wrote:
> At 12:13 5/15/1998 +0000, Salvador Eduardo Tropea (SET) wrote:
>
> >Download it, analize it, and write an ELF loader for DJGPP ;-)))
> >The big problem: You need binutils able to generate ELF files. This people
> >uses:
> >1) GCC from Linux.
> >2) Your own linker.
>
> I don't understand why making Binutils generate ELF is a problem. It should
> just be a matter of reconfiguring. After all, it produces ELF just fine on
> all sorts of Unix systems.
Yes of course is a matter of configuration, but isn't so easy as you think!
only few persons in the group know how to do it and I'm sure there are more
problems involved. Just as an example: You need to create a stubify program to
handle ELF, teach the libc how an ELF looks like (actually libc knows about
COFF), etc. So yes configuring is one step, but you'll need to do some djgpp
specific stuff too.
> As I understood it, the major problem was that the stub, debugging
> libraries, and go32-v2 would all have to be rewritten, or extensively
> modified. Not to mention other tools like DJP, the Allegro datafile code, etc...
Yes. Some of these things aren't really needed to get a minimal functionallity.
Somebody must start enabling ELF in Binutils and in GDB and I doubt that's a
simple task.
For the loader I strongly recomend to take a look at the cross elf stuff, I
think there are a lot of usable work there.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -