简体   繁体   中英

Linker error in Turbo C++ through Command line

When using Turbo C++ normally, I can include the, say graphics library through Options -> Linker -> Settings.

But how do I do the same thing in Command Line in DOS (DOSBox)? When I compile using tcc, I get lots of linker errors. How do I include the Graphics Library through Command line?

使用-L选项将路径添加到您的库,例如

tcc -LC:\LIB hello.cpp 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM