Hi im trying to make an exe file from my source file (test.cpp) in the command prompt.
I am able to create the .obj file successfully by using the typing the follwing command
tcc test.cpp(source file name)
it successfully creates the test.obj file. Now i want to use the linker (tlink.exe) to convert the test.obj to test.exe
when i type:-
tlink test.obj
it does create the test.exe file and a test.map file but with the following error messages
Error: undefined symbol _getch in module test.cpp
Error: undefined symbol _printf in module test.cpp
Error: undefined symbol _clrscr in module test.cpp
but when the exe file run it dosent work properly and is very small in size.
i am able to create the exe file by using the tcc.exe. I want to know the how to create the exe straight from the .obj file by using the tlink
thanks