Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Shahidam

11 posts

Geek


#16503 13-Oct-2007 01:11
Send private message

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

Create new topic
Affiliate link
 
 
 

Affiliate link: Norton Secure VPN helps secure private information using bank-grade encryption when using public Wi-Fi on your PC, Mac, or mobile device.
new2nz
78 posts

Master Geek


  #91047 14-Oct-2007 22:48
Send private message

I think you need to link in the runtime libraries provided to tlink. Unfortuanetly I couldn't tell you how as the the last time I I used turbo c was back in '91.

Preet

Create new topic





News and reviews »

Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25


Microsoft Updates Surface Laptop Go With 11th Gen Intel CPUs
Posted 2-Jun-2022 07:12


MSI Workstations, Business Laptops Exclusively Available From Ingram Micro New Zealand
Posted 31-May-2022 17:21


Seagate Serves Edge Security Applications With New Skyhawk AI Video-optimised Drive
Posted 31-May-2022 17:20


Dyson Gives Glimpse of Secret Robot Prototype
Posted 31-May-2022 17:15


Hisense Launches in New Zealand, With TVs and Home Appliances
Posted 31-May-2022 17:10


Logitech Introduces the Lift Vertical Ergonomic Mouse
Posted 31-May-2022 17:09



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.