delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/21/13:49:49

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: compile dos program problem
Date: 21 May 1997 04:50:43 GMT
Organization: The National Capital FreeNet
Lines: 29
Message-ID: <5ltuv3$2l7@freenet-news.carleton.ca>
References: <5lru50$2sr AT ustsu10 DOT ust DOT hk>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet2.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Kei (kei AT uxmail DOT ust DOT hk) writes:
>         After installed DJGPP and RSXNTDJ, I have no problem in compiling
>         windows program.  But, when I compile a dos program, say, a sample
>         in grx20, the following error resulted:
> 
> e:/djgpp/lib\crt0.o(.text+0x1194):crt0.s: reloc refers to symbol `bss' which is
> not being output
> e:/djgpp/lib\crt0.o(.text+0x119b):crt0.s: reloc refers to symbol `bss' which is
> not being output
> e:/djgpp/lib\crt0.o(.text+0x11aa):crt0.s: reloc refers to symbol `data' which is
>  not being output
> 
>         And of course, I failed to compile that dos program.  Do any step
>         I missed in installation?
> 	Thanks in advanced.
> 
> Waikei
> 


It appears that to compile DOS programs you need to use the DOS ld linker.
Be sure you renamed it as ld.bak instead of deleting it!

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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