Turbo C: Difference between revisions

121 bytes added ,  1 month ago
m
Reverted edits by Melina148 (talk) to last revision by Khaledhammouda
[unchecked revision][unchecked revision]
(Added more information about inline assembly and make.exe bug on turbo c 2.01)
m (Reverted edits by Melina148 (talk) to last revision by Khaledhammouda)
 
(5 intermediate revisions by 3 users not shown)
Line 1:
{{stub}}
 
{{Infobox Tool
|name=Turbo C
|image=Turbo_C_Preview.png
|operating_system=DOS
}}
 
Turbo C (aka TC) is [http://www.borland.com/ Borland's] 16-bit C compiler. In OS development, it is only useful for developing real mode operating systems. TC normally compiles to a DOS .exe executable, but the generated code can be turned into a flat binary by [[exe2bin]] if you compile with the -mt (model tiny) argument to the compiler, which makes the result position-independent.
 
Line 14 ⟶ 21:
-Exxx specifies an alternate assembler to use, eg. -Enasm.exe if you wanted to assemble with [[NASM]].
 
[[Category:C]]
[[Category:Compilers]]
[[Category:IDEs]]
Anonymous user