delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/14/01:45:30

From: "Sérgio Vale e Pace" <space AT gold DOT com DOT br>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: linker tutorial
Date: Tue, 14 Jul 1998 01:55:50 -0300
Organization: http://extra.newsguy.com
Lines: 36
Message-ID: <35AAE4D5.E08CD4B5@gold.com.br>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980713113008 DOT 323V-100000 AT is>
NNTP-Posting-Host: p-275.newsdawg.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii escreveu:

> On Mon, 13 Jul 1998, Sérgio Vale e Pace wrote:
>
> > Hi! please, there is anybody out there that can explain me, send me, or
> > point me to, some kind of tutorial about how the gcc linker works
> > internally, I'm trying to open and read the linker code, but will take
> > too much time to figure exactly how it works, and maybe somebody already
> > do it, so I will appreciate any help in this topic
>
> You will be much better off asking specific questions about specific
> aspects of the linker operation.  I doubt anybody would have enough time
> to describe this in its entirety.

  I know that, but in fact I really don't have sufficient knowledge to ask
something useful.
The final objective is to make ld link the output of DJGPP in a Win32 EXE, to
acomplish this I need to understand what inoformation I have avaliable and how
to get it, I mean I have no clue abou the structure of the COFF files (I still
not sure if this is the right type of object file), and even gets worst, I
don't know exactly what expect from this BFD (this is the library that read
the object files?) I read something about making scripts to make BFD read and
right files in the way I want, but nothing really helpfull.The INFO pages give
lists and lists of command line options and switchs, but the parts tha look
may have something presuppose some understanding about the inner process, and
looks like japanese to me. I tryed to open the ld source code, but there is a
lot of files with names that don't tell me nothing, and the fell files I think
may have something usefull, have more references to other places than a travel
agency.
    So what I'm needing is some points or hints, or anything with some clue on
where to start with.

Help me PLEASE!!!!
Thanks
Sérgio Vale e Pace

- Raw text -


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