diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-08-04 13:22:49 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-08-04 13:22:49 +0200 |
commit | 31b555ae72c37c72a27f4ffb66d38bc89420a25b (patch) | |
tree | 0e0074d48059e73ef195706884877d0fcadfb69d /misc | |
parent | c63e5ed7ec2fbee1c3543fe91798a425e6bb03be (diff) | |
download | yosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.tar.gz yosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.tar.bz2 yosys-31b555ae72c37c72a27f4ffb66d38bc89420a25b.zip |
Added libyosys.so build
Diffstat (limited to 'misc')
-rw-r--r-- | misc/example.cc | 4 |
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() { |