From 31b555ae72c37c72a27f4ffb66d38bc89420a25b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 4 Aug 2015 13:22:49 +0200 Subject: Added libyosys.so build --- misc/example.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/example.cc b/misc/example.cc index a8244ac4..67d0d7be 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 +#include int main() { -- cgit v1.2.3