aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-08-04 13:22:49 +0200
committerClifford Wolf <clifford@clifford.at>2015-08-04 13:22:49 +0200
commit31b555ae72c37c72a27f4ffb66d38bc89420a25b (patch)
tree0e0074d48059e73ef195706884877d0fcadfb69d /misc
parentc63e5ed7ec2fbee1c3543fe91798a425e6bb03be (diff)
downloadyosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.tar.gz
yosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.tar.bz2
yosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.zip
Added libyosys.so build
Diffstat (limited to 'misc')
-rw-r--r--misc/example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/example.cc b/misc/example.cc
index a8244ac4e..67d0d7be5 100644
--- a/misc/example.cc
+++ b/misc/example.cc
@@ -1,6 +1,6 @@
-// clang -o example -std=c++11 -I/usr/include/tcl8.5 -I include/ example.cc objs/*.o -lstdc++ -lm -lrt -lreadline -lffi -ldl -ltcl8.5
+// yosys-config --exec --cxx -o example --cxxflags --ldflags example.cc -lyosys -lstdc++
-#include <yosys.h>
+#include <kernel/yosys.h>
int main()
{