www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/11/00:01:59

Mime-Version: 1.0
To: wanpsm98 AT octarine DOT cc DOT adfa DOT oz DOT au (WANKADIA PAUL SAPAL MICHAEL),
djgpp AT delorie DOT com
From: Nate Eldredge <nate AT cartsys DOT com>
Subject: Re: An OS..
Date: Sun, 10 May 1998 20:54:27 -0700
Message-ID: <19980511035425.AAA4598@ppp107.cartsys.com>

At 09:41  5/10/1998 GMT, WANKADIA PAUL SAPAL MICHAEL wrote:
>Nate Eldredge <nate AT cartsys DOT com> writes:
>
>>>Not entirely an OS, but an interesting idea nonetheless.
>>You could also just use the compiler/assembler of DJGPP to write the kernel,
>>as long as you didn't use the library.
>
>I found that one shouldn't use ld to do the final link, as the specs make
>ld link in crt0.o and what not; also, one needs to be careful when 
>linking for a relocateable output (i.e. using the '-r' switch), as the 
>default ld script puts in all kinds of strong labels that will conflict 
>with each other when you try to link several relocateably-linked modules 
>together ... however, the ld script modifications are trivial ...

One can certainly use `ld' (in fact one will have great difficulty using
their code otherwise), it's just that one will have to call it directly and
manually figure out the options. Depending on what you want, you needn't use
the scripts at all.

Nate Eldredge
nate AT cartsys DOT com



- Raw text -


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