Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: wanpsm98 AT octarine DOT cc DOT adfa DOT oz DOT au (WANKADIA PAUL SAPAL MICHAEL), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: An OS.. Date: Sun, 10 May 1998 20:54:27 -0700 Message-ID: <19980511035425.AAA4598@ppp107.cartsys.com> Precedence: bulk At 09:41 5/10/1998 GMT, WANKADIA PAUL SAPAL MICHAEL wrote: >Nate Eldredge 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