delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/23/10:47:12

From: "John S. Fine" <johnfine AT erols DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc and linking
Date: Tue, 23 Jun 1998 10:43:41 -0400
Organization: Erol's Internet Services
Lines: 22
Message-ID: <358FBF1D.AD2@erols.com>
References: <6mmf3i$9ob$1 AT fep5 DOT clear DOT net DOT nz>
Reply-To: johnfine AT erols DOT com
NNTP-Posting-Host: 207-172-240-245.s54.as4.bsd.erols.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mark Sibly wrote:

> Is there any way to link gcc .o object files to a raw binary pre-relocated
> at an absolute address?

  At least two ways:

1)  Read the documentation on "ld".  It can do that.  I found that
documentation
very confusing, and couldn't figure it out.

2)  Use my linker JLOC (see my home page below).  I think my
documentation is
better and control files are easier to write for JLOC than for ld.  Also
JLOC
can mix in 16 and 32 bit OBJs from Borland tools with the 32 bit COFF
files
from djgpp.

-- 
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/

- Raw text -


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