找回密码
 立即注册→加入我们

QQ登录

只需一步,快速开始

搜索
热搜: 下载 VB C 实现 编写
查看: 6177|回复: 1

Turbo C++ 3.0(古董级16位C、C++编译器下载)

[复制链接]

1110

主题

1651

回帖

7万

积分

用户组: 管理员

一只技术宅

UID
1
精华
244
威望
743 点
宅币
24221 个
贡献
46222 次
宅之契约
0 份
在线时间
2296 小时
注册时间
2014-1-26
发表于 2014-1-29 15:04:28 | 显示全部楼层 |阅读模式

欢迎访问技术宅的结界,请注册或者登录吧。

您需要 登录 才可以下载或查看,没有账号?立即注册→加入我们

×
这是面向DOS的16位的编译器。无法在64位Windows下运行。
对于安装了DOS虚拟机的家伙们来说,用这个进行DOS编程是不错的选择。

如下图中的TC是运行在DOSBOX虚拟环境下的TC,Win7 64位无法直接运行TC,你必须安装DOSBOX才能运行TC。
TC.PNG

原始镜像下载地址:
http://pan.baidu.com/s/1gdgl7mr

绿化后的下载地址:
http://pan.baidu.com/s/1ipLRl

DOSBOX下载地址:
http://www.0xaa55.com/thread-84-1-1.html

DOSBox下的TC的配置方法:
1、下载TC.7z
2、下载DOSBox
3、按照DOSBox的链接,配置你的DOSBox
4、配置好DOSBox后,解压TC.7z到你的DOSBox的C盘(也就是D:\VDOS\这样的文件夹)
5、改写AUTOEXEC.BAT,添加一条命令:

set path=C:\TC\bin;%path%

6、运行DOSBox,输入“TC”,可以看到TC的界面(1楼图所示)
7、开始编程吧。

TCC的命令行:
  1. Turbo C++ Version 3.00 Copyright (c) 1992 Borland International
  2. Syntax is: TCC [ options ] file[s ]    * = default; -x- = turn switch x off
  3.   -1      80186/286 Instructions    -2      80286 Protected Mode Inst.
  4.   -Ax     Disable extensions        -B      Compile via assembly
  5.   -C      Allow nested comments     -Dxxx   Define macro
  6.   -Exxx   Alternate Assembler name  -G      Generate for speed
  7.   -Ixxx   Include files directory   -K      Default char is unsigned
  8.   -Lxxx   Libraries directory       -M      Generate link map
  9.   -N      Check stack overflow      -O      Optimize jumps
  10.   -P      Force C++ compile         -Qxxx   Memory usage control
  11.   -S      Produce assembly output   -Txxx   Set assembler option
  12.   -Uxxx   Undefine macro            -Vx     Virtual table control
  13.   -X      Suppress autodep. output  -Yx     Overlay control
  14.   -Z      Suppress register reloads -a      Generate word alignment
  15.   -b    * Treat enums as integers   -c      Compile only
  16.   -d      Merge duplicate strings   -exxx   Executable file name
  17.   -fxx    Floating point options    -gN     Stop after N warnings
  18.   -iN     Max. identifier length    -jN     Stop after N errors
  19.   -k      Standard stack frame      -lx     Set linker option
  20.   -mx     Set Memory Model          -nxxx   Output file directory
  21.   -oxxx   Object file name          -p      Pascal calls
  22.   -r    * Register variables        -u    * Underscores on externs
  23.   -v      Source level debugging    -wxxx   Warning control
  24.   -y      Produce line number info  -zxxx   Set segment names
复制代码
链接器tlink的命令行:

  1. Turbo Link  Version 5.0 Copyright (c) 1992 Borland International
  2. Syntax: TLINK objfiles, exefile, mapfile, libfiles
  3. @xxxx indicates use response file xxxx
  4. /m  Map file with publics         /x  No map file at all
  5. /i  Initialize all segments       /l  Include source line numbers
  6. /L  Specify library search paths  /s  Detailed map of segments
  7. /n  No default libraries          /d  Warn if duplicate symbols in libraries
  8. /c  Case significant in symbols   /3  Enable 32-bit processing
  9. /o  Overlay switch                /v  Full symbolic debug information
  10. /ye Expanded memory swapping      /yx Extended memory swapping
  11. /e  Ignore Extended Dictionary
  12. /t  Create COM file
复制代码
tlib的命令行:

  1. TLIB 3.02 Copyright (c) 1991 Borland International
  2. Syntax: TLIB libname [/C ] [/E ] [/P ] commands, listfile
  3.     libname     library file pathname
  4.     commands    sequence of operations to be performed (optional)
  5.     listfile    file name for listing file (optional)

  6. A command is of the form: <symbol>modulename, where <symbol> is:
  7.     +           add modulename to the library
  8.     -           remove modulename from the library
  9.     *           extract modulename without removing it
  10.     -+ or +-    replace modulename in library
  11.     -* or *-    extract modulename and remove it

  12.     /C          case-sensitive library
  13.     /E          create extended dictionary
  14.     /PSIZE      set the library page size to SIZE

  15. Use @filepath to continue from file "filepath".
  16. Use '&' at end of a line to continue onto the next line.
复制代码
MAKE的命令行:

  1. MAKE Version 3.6  Copyright (c) 1991 Borland International
  2. Syntax: MAKE [options ...] target[s ]
  3.     -B               Builds all targets regardless of dependency dates
  4.     -Dsymbol         Defines symbol
  5.     -Dsymbol=string  Defines symbol to string
  6.     -Idirectory      Names an include directory
  7.     -K               Keeps (does not erase) temporary files created by MAKE
  8.     -N               Increases MAKE's compatibility with NMAKE
  9.     -W               Writes all non-string options back to the .EXE file
  10.     -Usymbol         Undefine symbol
  11.     -ffilename       Uses filename as the MAKEFILE
  12.     -a               Performs auto-dependency checks for include files
  13.     -e               Ignores redefinition of environment variable macros
  14.     -i               Ignores errors returned by commands
  15.     -m               Displays the date and time stamp of each file
  16.     -n               Prints commands but does not do them
  17.     -p               Displays all macro definitions and implicit rules
  18.     -q               Returns zero if target is up-to-date and nonzero
  19.                      if it is not (for use in batch files)
  20.     -r               Ignores rules and macros defined in BUILTINS.MAK
  21.     -s               Silent, does not print commands before doing them
  22.     -? or -h         Prints this message
  23.       Options marked with '+' are on by default. To turn off a default
  24.       option follow it by a '-', for example: -a-
复制代码
回复

使用道具 举报

1110

主题

1651

回帖

7万

积分

用户组: 管理员

一只技术宅

UID
1
精华
244
威望
743 点
宅币
24221 个
贡献
46222 次
宅之契约
0 份
在线时间
2296 小时
注册时间
2014-1-26
 楼主| 发表于 2014-8-26 23:30:48 | 显示全部楼层
最近用到了。顶上去。
回复 赞! 靠!

使用道具 举报

QQ|Archiver|小黑屋|技术宅的结界 ( 滇ICP备16008837号 )|网站地图

GMT+8, 2024-4-19 03:10 , Processed in 0.043110 second(s), 34 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表