mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
a7ed5d35e0
`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
17 lines
474 B
Plaintext
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,
|