diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-27 11:09:49 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1996-12-27 11:09:49 +0000 |
commit | a7ed5d35e0dd5b620ba030aa32227dad84f1bcbd (patch) | |
tree | f5fbea5f97db4f69fa88425b236bc18cc28fa566 /lang/lcc/files/patch-01 | |
parent | Moved 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-01')
-rw-r--r-- | lang/lcc/files/patch-01 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/lcc/files/patch-01 b/lang/lcc/files/patch-01 new file mode 100644 index 000000000000..d487a6668df5 --- /dev/null +++ b/lang/lcc/files/patch-01 @@ -0,0 +1,23 @@ +--- makefile.orig Sat Oct 19 06:17:24 1996 ++++ makefile Sun Dec 8 19:40:15 1996 +@@ -40,6 +40,7 @@ + $(BUILDDIR)/gen.o \ + $(BUILDDIR)/mips.o \ + $(BUILDDIR)/sparc.o \ ++ $(BUILDDIR)/%%OPSYS%%.o \ + $(BUILDDIR)/x86.o + + $(BUILDDIR)/rcc: $(RCCOBJS) +@@ -76,10 +77,12 @@ + + $(BUILDDIR)/mips.o: $(BUILDDIR)/mips.c; $(CC) -c $(CFLAGS) -Isrc -o $@ $(BUILDDIR)/mips.c + $(BUILDDIR)/sparc.o: $(BUILDDIR)/sparc.c; $(CC) -c $(CFLAGS) -Isrc -o $@ $(BUILDDIR)/sparc.c ++$(BUILDDIR)/%%OPSYS%%.o: $(BUILDDIR)/%%OPSYS%%.c; $(CC) -c $(CFLAGS) -Isrc -o $@ $(BUILDDIR)/%%OPSYS%%.c + $(BUILDDIR)/x86.o: $(BUILDDIR)/x86.c; $(CC) -c $(CFLAGS) -Isrc -o $@ $(BUILDDIR)/x86.c + + $(BUILDDIR)/mips.c: $(BUILDDIR)/lburg src/mips.md; $(BUILDDIR)/lburg <src/mips.md >$@ + $(BUILDDIR)/sparc.c: $(BUILDDIR)/lburg src/sparc.md; $(BUILDDIR)/lburg <src/sparc.md >$@ ++$(BUILDDIR)/%%OPSYS%%.c: $(BUILDDIR)/lburg src/%%OPSYS%%.md; $(BUILDDIR)/lburg <src/%%OPSYS%%.md >$@ + $(BUILDDIR)/x86.c: $(BUILDDIR)/lburg src/x86.md; $(BUILDDIR)/lburg <src/x86.md >$@ + + YFLAGS= |