From e3b9fa1e53696e9cbe1ee4a9c4d9bf7a08ea0a0e Mon Sep 17 00:00:00 2001 From: Tusharsb Date: Tue, 1 Dec 2015 23:17:07 +0530 Subject: [PATCH] tips for compiling example code Me and a few more users (at https://groups.google.com/forum/#!topic/strophe/sPw7-Vpszxs) were struggling to compile example files. I think this readme file will help others as well. --- examples/README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 examples/README.md diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..4bc95e7 --- /dev/null +++ b/examples/README.md @@ -0,0 +1,3 @@ +Compile example files with following gcc flags : +================================================= +``gcc -Wall -I/usr/local/include -L/usr/local/lib -o bot bot.c -lstrophe -lssl -lresolv -lexpat``