www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/26/23:04:24

From: Ben Chong <bluesky6 AT ix DOT netcom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Modifying ld for standalone binaries
Date: Mon, 26 Jun 2000 18:14:59 -0700
Organization: http://extra.newsguy.com
Lines: 21
Message-ID: <envflscd08chm650chapqv64s38o3etn1c@4ax.com>
NNTP-Posting-Host: p-614.newsdawg.com
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi folks,

I posted a question about using DJGPP to build for standalone binaries
: there is no operating system. Binary put into an EPROM for embedded
x86 system.

Some of the answers (thanks to those who responded) indicated that I
needed to modify ld (the linker).

After looking at the a.out file, I noticed that there is a huge go32
stub. Now, this is what I DONT'T want. Since the system will have no
OS, there's no DPMI driver or what ever. The system will already be in
some sort of 32-bit mode, so all I would like is that the first
instruction be in location 0 of the binary file and so on.

So what can I do to ld or the linker scripts to NOT pull in the go32
stuff?

Thanks!

Ben

- Raw text -


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