summaryrefslogtreecommitdiff
path: root/lang/lcc/files/patch-03
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-12-27 11:09:49 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-12-27 11:09:49 +0000
commita7ed5d35e0dd5b620ba030aa32227dad84f1bcbd (patch)
treef5fbea5f97db4f69fa88425b236bc18cc28fa566 /lang/lcc/files/patch-03
parentMoved the @exec mkdir ... line so that it won't fail to (diff)
lcc is the retargetable ANSI C compiler described in the book
`A Retargetable C Compiler: Design and Implementation' (Addison-Wesley, 1995, ISBN 0-8053-1670-1). lcc is a production compiler with a hand crafted lexical analyzer and a hand-coded recursive decent parser. The lexer and parser code is well written and very easy to read (and learn from :-)). lcc compiles much faster than FreeBSD's stock [gcc] compiler. However, it does not under stand FreeBSD's "long long" data type. Contributions by: Soren Schmidt
Notes
Notes: svn path=/head/; revision=5108
Diffstat (limited to 'lang/lcc/files/patch-03')
-rw-r--r--lang/lcc/files/patch-0316
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/lcc/files/patch-03 b/lang/lcc/files/patch-03
new file mode 100644
index 000000000000..420ebad6856e
--- /dev/null
+++ b/lang/lcc/files/patch-03
@@ -0,0 +1,16 @@
+--- src/bind.c.orig Fri Oct 18 17:38:38 1996
++++ src/bind.c Fri Dec 27 02:31:21 1996
+@@ -1,10 +1,13 @@
+ #include "c.h"
+ extern Interface nullIR, symbolicIR;
++extern Interface x86freebsdIR;
+ extern Interface mipsebIR, mipselIR;
+ extern Interface sparcIR, solarisIR;
+ extern Interface x86IR;
++
+ Binding bindings[] = {
+ "symbolic", &symbolicIR,
++ "i386-FreeBSD", &x86freebsdIR,
+ "mips-irix", &mipsebIR,
+ "mips-ultrix", &mipselIR,
+ "sparc-sun", &sparcIR,