Skip to content

Commit 24ea8ae

Browse files
author
dtrg
committed
Updated for the 6.0pre2 release.
1 parent bc5ccee commit 24ea8ae

File tree

20 files changed

+171
-183
lines changed

20 files changed

+171
-183
lines changed

.distr

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
README
2+
CHANGES
23
Copyright
34
pm
45
pmfile
@@ -29,7 +30,7 @@ util/cmisc
2930
util/ack
3031
lib/descr/fe
3132
util/arch
32-
util/cpp
33+
#util/cpp
3334
util/cgg
3435
util/ncgg
3536
util/misc
@@ -41,33 +42,14 @@ util/led
4142
lang/cem
4243
lang/pc
4344
lang/m2
44-
lang/occam
45-
lang/basic
45+
#lang/occam
46+
#lang/basic
4647

4748
mach/proto
4849
mach/i86
50+
mach/i386
4951

5052
plat/pc86
53+
plat/linux386
5154

5255
examples
53-
54-
#Action
55-
#NEW
56-
#README
57-
#TODO
58-
#TakeAction
59-
#bin
60-
#doc
61-
#emtest
62-
#etc
63-
#fast
64-
#fcc
65-
#first
66-
#h
67-
#include
68-
#modules
69-
#lang
70-
#lib
71-
#mach
72-
#man
73-
#util

CHANGES

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# $Source$
2+
# $State$
3+
# $Revision$
4+
5+
6.0pre2
6+
7+
Much simplified the syscall interface by disabling libmon and instead
8+
calling the syscalls directly. Disabled the K&R C compiler and libc because
9+
it doesn't actually gain us anything and has a high maintenance load --- the
10+
ANSI C compiler works fine with K&R C. Adapted the rest of the system to
11+
build with the ANSI C compiler. Rewrote the pc86 syscall interface and added
12+
linux386 support, using the i386 code generator. Lots and lots of bugfixes
13+
and tweaks everywhere.
14+
15+
6.0pre1
16+
17+
First working version of the 6.0 release stream. Working frontends: both C
18+
compilers, Pascal, Modula-2, Basic and Occam. Working backends: i86. Working
19+
platforms: pc86, the very noddy testbed setup that produces floppy disk
20+
images.
21+

README

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
# $State$
33
# $Revision$
44

5-
THE AMSTERDAM COMPILER KIT V6.0pre1
5+
THE AMSTERDAM COMPILER KIT V6.0pre2
66
===================================
77

88
© 1987-2005 Vrije Universiteit, Amsterdam
9-
2007-02-25
9+
2007-04-24
1010

1111

1212
INTRODUCTION
@@ -28,11 +28,12 @@ SUPPORT
2828

2929
Languages:
3030

31-
ANSI C, K&R C, Pascal, Modula 2, Occam 1, and a Basic variant.
31+
ANSI C, Pascal, Modula 2. K&R is supported via the ANSI C compiler.
3232

3333
Platforms:
3434

3535
pc86 produces bootable floppy disk images for 8086 PCs
36+
linux386 produces ELF executables for PC Linux systems
3637

3738

3839
INSTALLATION
@@ -114,23 +115,21 @@ For further information, see the man page (which actually does get
114115
installed, but is rather out of date).
115116

116117
There are some (known working) example programs in the 'examples' directory.
118+
A sample command line is:
119+
120+
ack -mlinux386 -O examples/paranoia.c
117121

118122

119123
GOTCHAS
120124
=======
121125

122126
There are some things you should be aware of.
123127

124-
- The only platform supported so far is pc86, which generates 8086 tiny mode
125-
executables that will work as floppy disk boot images. So, to run, simply dd
126-
the output file (pc86.img by default) onto a floppy disk and boot from it.
127-
Be aware that very little functionality is supported and that the entire
128-
program, heap and stack and code and all, must fit within 64kB. See
129-
plat/pc86/README for more information.
128+
- Look at plat/linux386/README and plat/pc86/README for information about the
129+
two supported platforms.
130130

131-
- By default, the ack tool will compile K&R C. Practically all C source these
132-
days is ANSI C --- use the -ansi switch to enable ANSI mode. No, the ACK is
133-
not C99 compatible.
131+
- The library support is fairly limited; for C, it's at roughly the ANSI C
132+
level, and for the other languages it's similar.
134133

135134
- When compiling languages other than C, the ACK will usually look at the
136135
first character of the file. If it's a #, then the file will be run through
@@ -167,4 +166,4 @@ Please enjoy.
167166

168167
David Given (dtrg on Sourceforge)
169168
170-
2007-02-25
169+
2007-04-24

examples/.distr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@ hilo.mod
44
hilo.ocm
55
hilo.p
66
paranoia.c
7+
startrek.c
8+
startrek.doc
79
README

lang/cem/.distr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ pmfile
22
cemcom.ansi
33
cpp.ansi
44
libcc.ansi
5-
cemcom
6-
libcc
5+
#cemcom
6+
#libcc

lang/cem/libcc.ansi/headers/.distr

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1+
sys/time.h
2+
sys/ioctl.h
13
assert.h
24
ctype.h
3-
dirent.h
45
errno.h
56
float.h
6-
grp.h
77
limits.h
8-
locale.h
98
math.h
10-
mathconst.h
119
setjmp.h
1210
signal.h
1311
stdarg.h
@@ -16,6 +14,9 @@ stdio.h
1614
stdlib.h
1715
string.h
1816
time.h
19-
varargs.h
20-
sys/dirent.h
21-
sys/errno.h
17+
iso646.h
18+
stdbool.h
19+
fcntl.h
20+
tgmath.h
21+
locale.h
22+
stdint.h

lang/cem/libcc.ansi/misc/.distr

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
1-
closedir.c
2-
fdopen.c
3-
getdents.c
4-
getgrent.c
5-
getopt.c
6-
getpass.c
7-
getpw.c
8-
getw.c
9-
isatty.c
10-
opendir.c
11-
popen.c
12-
putenv.c
131
environ.c
14-
putw.c
15-
readdir.c
16-
rewinddir.c
17-
seekdir.c
18-
sleep.c
19-
telldir.c
20-
termcap.c
21-
mktemp.c
22-
hypot.c

lang/cem/libcc.ansi/pmfile

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -269,26 +269,26 @@ local libc = acklibrary {
269269

270270
local headers = group {
271271
install = {
272-
pm.install(d.."headers/sys/time.h", "%BINDIR%include/ansi/sys/time.h"),
272+
pm.install(d.."headers/sys/time.h", "%BINDIR%include/ansi/sys/time.h"),
273273
pm.install(d.."headers/sys/ioctl.h", "%BINDIR%include/ansi/sys/ioctl.h"),
274-
pm.install(d.."headers/assert.h", "%BINDIR%include/ansi/assert.h"),
275-
pm.install(d.."headers/ctype.h", "%BINDIR%include/ansi/ctype.h"),
276-
-- pm.install(d.."headers/dirent.h", "%BINDIR%include/ansi/dirent.h"),
277-
pm.install(d.."headers/errno.h", "%BINDIR%include/ansi/errno.h"),
278-
pm.install(d.."headers/float.h", "%BINDIR%include/ansi/float.h"),
279-
-- pm.install(d.."headers/grp.h", "%BINDIR%include/ansi/grp.h"),
280-
pm.install(d.."headers/limits.h", "%BINDIR%include/ansi/limits.h"),
281-
-- pm.install(d.."headers/locale.h", "%BINDIR%include/ansi/locale.h"),
282-
pm.install(d.."headers/math.h", "%BINDIR%include/ansi/math.h"),
283-
-- pm.install(d.."headers/mathconst.h", "%BINDIR%include/ansi/mathconst.h"),
284-
pm.install(d.."headers/setjmp.h", "%BINDIR%include/ansi/setjmp.h"),
285-
pm.install(d.."headers/signal.h", "%BINDIR%include/ansi/signal.h"),
286-
pm.install(d.."headers/stdarg.h", "%BINDIR%include/ansi/stdarg.h"),
287-
pm.install(d.."headers/stddef.h", "%BINDIR%include/ansi/stddef.h"),
288-
pm.install(d.."headers/stdio.h", "%BINDIR%include/ansi/stdio.h"),
289-
pm.install(d.."headers/stdlib.h", "%BINDIR%include/ansi/stdlib.h"),
290-
pm.install(d.."headers/string.h", "%BINDIR%include/ansi/string.h"),
291-
pm.install(d.."headers/time.h", "%BINDIR%include/ansi/time.h"),
274+
pm.install(d.."headers/assert.h", "%BINDIR%include/ansi/assert.h"),
275+
pm.install(d.."headers/ctype.h", "%BINDIR%include/ansi/ctype.h"),
276+
pm.install(d.."headers/errno.h", "%BINDIR%include/ansi/errno.h"),
277+
pm.install(d.."headers/float.h", "%BINDIR%include/ansi/float.h"),
278+
pm.install(d.."headers/limits.h", "%BINDIR%include/ansi/limits.h"),
279+
pm.install(d.."headers/math.h", "%BINDIR%include/ansi/math.h"),
280+
pm.install(d.."headers/setjmp.h", "%BINDIR%include/ansi/setjmp.h"),
281+
pm.install(d.."headers/signal.h", "%BINDIR%include/ansi/signal.h"),
282+
pm.install(d.."headers/stdarg.h", "%BINDIR%include/ansi/stdarg.h"),
283+
pm.install(d.."headers/stddef.h", "%BINDIR%include/ansi/stddef.h"),
284+
pm.install(d.."headers/stdio.h", "%BINDIR%include/ansi/stdio.h"),
285+
pm.install(d.."headers/stdlib.h", "%BINDIR%include/ansi/stdlib.h"),
286+
pm.install(d.."headers/string.h", "%BINDIR%include/ansi/string.h"),
287+
pm.install(d.."headers/time.h", "%BINDIR%include/ansi/time.h"),
288+
pm.install(d.."headers/iso646.h", "%BINDIR%include/ansi/iso646.h"),
289+
pm.install(d.."headers/stdbool.h", "%BINDIR%include/ansi/stdbool.h"),
290+
pm.install(d.."headers/locale.h", "%BINDIR%include/ansi/locale.h"),
291+
pm.install(d.."headers/tgmath.h", "%BINDIR%include/ansi/tgmath.h"),
292292
}
293293
}
294294

lang/cem/libcc.ansi/setjmp/.distr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
setjmp.e
2-
sigmisc.c

lang/cem/libcc.ansi/stdio/.distr

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,12 @@ getc.c
2929
getchar.c
3030
gets.c
3131
icompute.c
32-
isatty.c
3332
loc_incl.h
3433
perror.c
3534
printf.c
3635
putc.c
3736
putchar.c
3837
puts.c
39-
remove.c
40-
rename.c
4138
rewind.c
4239
scanf.c
4340
setbuf.c

0 commit comments

Comments
 (0)