Anonymous user
Turbo C: Difference between revisions
m
Reverted edits by Melina148 (talk) to last revision by Khaledhammouda
[unchecked revision] | [unchecked revision] |
No edit summary |
m (Reverted edits by Melina148 (talk) to last revision by Khaledhammouda) |
||
(10 intermediate revisions by 7 users not shown) | |||
Line 1:
{{stub}}
Turbo C (aka TC) is [[Borland|Borland's]] 16-bit C compiler. In OS development, it is only useful for developing real mode operating systems. TC compiles to a .exe executable, but can be converted to a flat binary by exe2bin if you compile with the -mt (model tiny) argument to the compiler.▼
{{Infobox Tool
|name=Turbo C
|image=Turbo_C_Preview.png
|operating_system=DOS
}}
▲Turbo C (aka TC) is [
== Make bug ==
If you're using Turbo C. There is a chance that the make program that comes in TC hangs indefinitely. To fix this it's necessary to create a makefile that does absolutely nothing. This only happens on Turbo C 2.01.
== Inline Assembly ==
Inline assembly works fine in Turbo C, but there are a few rules:
* You must compile from the command line
* You must own [[TASM]] or pass -Exxx to the compiler
* Only intel syntax is accepted
-Exxx specifies an alternate assembler to use, eg. -Enasm.exe if you wanted to assemble with [[NASM]].
[[Category:C]]
[[Category:Compilers]]
[[Category:IDEs]]
|