Mail Archives: djgpp/1998/05/11/00:01:59
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 -