Please find attached the test.lnk file for the
request below.
Regards,
Karthigan.
--- Karthigan Srinivasan <[EMAIL PROTECTED]>
wrote:
>
> I would greatly appreciate if someone could
> help
> me with this question. Based on the kernel
> makefiles I wrote a simple C and asm file and
> tried linking them. Please see the error
> message
> at the bottom of the email.
>
> It warns that there is no stack and when I try
> to
> run the exe file, the dos window hangs.
>
> I have attached my source files to this email.
> The libm.lib and device.lib files were taken
> from
> Freedos kernels' lib folder. I would greatly
> appreciate if someone could help me figure out
> what I have done wrong.
>
> Regards,
> Karthigan.
>
> D:\Data\temp>make
> MAKE Version 2.0 Copyright (c) 1987, 1988
> Borland International
>
> Available memory 588117 bytes
>
> nasm16 -DTC2 -DXCPU=86 -f obj test.asm
> tcc -c -M -k -1 -mc main.c
> Turbo C Version 2.01 Copyright (c) 1987, 1988
> Borland International
> main.c:
>
> Available memory 394100
> tlink /m/c/s/l @test.lnk
> Turbo Link Version 2.0 Copyright (c) 1987,
> 1988
> Borland International
> Warning: no stack
>
>
>
> __________________________________
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
> ATTACHMENT part 2 application/octet-stream
name=main.c
> ATTACHMENT part 3 application/octet-stream
name=test.asm
> ATTACHMENT part 4 application/octet-stream
name=test.h
> ATTACHMENT part 5 application/octet-stream
name=Makefile
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
test.obj main.obj
main.exe
main.map
libm.lib device.lib