1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/lcc/files/patch-03
David E. O'Brien a7ed5d35e0 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
1996-12-27 11:09:49 +00:00

17 lines
474 B
Plaintext

--- 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,