Read the article this discussion is about
» shahidam31 - Turbo C
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
-- posted by shahidam31
»
Guy Lecky-Thompson
- Turbo C
Hi,
To do this, you need to specify the library files (.lib / .obj) on the command line. In this case, the library file that you need to link to should be listed in the Turbo C documentation.
Guy
Please follow the guidelines set forth in the Suite101 Posting Etiquette when adding to the discussion.