beppu
unread,Mar 4, 2011, 7:24:52 PM3/4/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to lci-general
FYI, to compile lci on OSX, change the Makefile so that it doesn't try
to explicitly link libm. Apparently, on OSX, you get access to what's
usually in libm without having to ask for it.
diff --git a/Makefile b/Makefile
index ff3df8c..4257f51 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
TARGET = lci
-LIBS = -lm
+LIBS =
OBJS = lexer.o tokenizer.o parser.o interpreter.o unicode.o main.o
SRCS = lexer.c tokenizer.c parser.c interpreter.c unicode.c main.c
INSTALL = cp