]Hi,
This is the source for a C compiler that generates 386 or
m68K code. Code generation is fairly good although the optimizer is
a little naive... the code itself should be highly portable although
there are some issues involved with porting from MSDOS that have to
be resolved; for example the size of LONG on unix machines is so big
some of the code generated gets messed up.
Code generation requires TASM to assemble the compiler output;
you can use the borland TLINK to produce executables, or the
Watcom WLINK can also be used. PMODE systems written by TRAN are used
for the DPMI interface.
This compiler source is a companion file to the two files:
ccdl139e.zip - C compiler executables with DOS libraries (for DOS)
ccdl139l.zip - C compiler run-time libraries
Which should also be available on the distribution site you got this
from. Read the LICENSE.TXT file for redistribution information.
See license.txt for licensing information.
Notes:
This version has an inline assembler
This version compiles itself and the resulting image runs!
do NOT use tasm 4.1!!! (it is buggy)
This program is being distributed through a variety of media; on the
internet new releases may be found on:
ftp.std.com:/pub/os-code ( my site, updates get here quicker )
ftp.simtel.net
garbo.uwasa.fi
David Lindauer
1428 Hepburn Ln. Apt #1
Louisville, KY 40204
email: gclind01@starbase.spd.louisville.edu
没有合适的资源?快使用搜索试试~ 我知道了~
C编译器的原代码 可以研究一下
共89个文件
c:50个
h:12个
p:8个
需积分: 0 16 下载量 197 浏览量
2008-12-21
14:08:19
上传
评论
收藏 179KB RAR 举报
温馨提示
可以看一下,是C语言编译器的原代码啊!可以研究一下
资源推荐
资源详情
资源评论
收起资源包目录
9230416539168.rar (89个子文件)
16539168
ERRORS.H 3KB
EXPR.H 3KB
INASM68.C 1KB
SYMBOL.C 5KB
CL386.CFG 52B
ANALYZE.C 20KB
USAGE.C 2KB
HASH.H 691B
GEN386.H 6KB
GSTMT68.C 24KB
OUTAS386.C 33KB
MAKEFILE.16 6KB
UMEM.H 748B
PHITEXT.C 11KB
STMT.C 25KB
INASM386.C 35KB
AN386.C 15KB
INTEXPR.C 7KB
ARGS.C 5KB
readme.htm 223B
Cn700.com.txt 3KB
EXPR.C 79KB
MK386.C 23KB
DECL.C 39KB
SEARCHKW.C 4KB
AN68.C 10KB
GETSYM.C 27KB
PEEP386.C 10KB
MAKEFILE.32 5KB
CL386E.TXT 6KB
CMAIN.C 13KB
A.C 18B
SRCHPATH.C 2KB
CMDLINE.H 1KB
TDCONFIG.TD 688B
REG68.C 6KB
HISTORY.TXT 2KB
README.1ST 505B
GEN68.H 6KB
MAKEFILE 3KB
PSTR.C 2KB
PEEP68.C 18KB
Q.C 86B
D4GWSTUB.C 1KB
FUNC.C 10KB
FILE_ID.DIZ 51B
OPTIMIZE.C 25KB
CONF386.C 5KB
MK386.CFG 41B
UMEM.P 1KB
MAKE.BAT 98B
CC386.C 190B
MEMMGT.C 5KB
ERROR.C 30KB
LIST.P 206B
CL386.C 23KB
INTERP.H 980B
HASH.P 333B
FLOATEXP.C 4KB
SYMCHAR.C 8KB
INTERP.P 1KB
TYPES.C 5KB
LIST.C 6KB
FATAL.C 1014B
TEST.BAT 513B
LICENSE.TXT 2KB
GSTMT386.C 20KB
CONF68.C 7KB
MANGLE.C 9KB
DIAG.H 99B
CC68.P 7KB
CMDLINE.P 1KB
MAKEALL.BAT 131B
UTYPE.H 293B
INIT.C 21KB
CC386.P 6KB
EXT.C 1KB
OUTAS68.C 32KB
GEXPR386.C 86KB
BCCSTACK.C 243B
CC.P 13KB
CL386R.TXT 6KB
GEXPR68.C 121KB
LIST.H 295B
REG386.C 5KB
README.TXT 1KB
PREPROC.C 19KB
C.H 8KB
www.pudn.com.txt 218B
共 89 条
- 1
资源评论
wangjinxiang1234567
- 粉丝: 4
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功