ld ? under win2000
Posted: Sat Dec 07, 2002 7:36 am
i am trying to convert my obj kernel file into raw format using ld. This file has an externel referece to a boot asm file in starting of the code(kernel.c) which is asm("jmp initk"). i use the below command to do it
ld -Ttext=0x1000 -o kernel kernel.o -e 0x0
This works fine under my linux box. But when it comes to my windoze box(i use djgpp). It returns the error
<error>
kernel.o(.text+0x1):kernel.c: undefined reference to `initk'
</error>
Is there any way in windows that i can avoid ld from checking external references like it does in linux??
Please help!!!
ld -Ttext=0x1000 -o kernel kernel.o -e 0x0
This works fine under my linux box. But when it comes to my windoze box(i use djgpp). It returns the error
<error>
kernel.o(.text+0x1):kernel.c: undefined reference to `initk'
</error>
Is there any way in windows that i can avoid ld from checking external references like it does in linux??
Please help!!!