sharklinux / shark

We're building a better performance management system
http://www.sharkly.io
GNU Lesser General Public License v2.1
79 stars 13 forks source link

Is it OK to use gcc as the compiler? #11

Closed NanXiao closed 9 years ago

NanXiao commented 9 years ago

Hi shark,

In prerequisites, you mention "clang installed in target system". Does shark project require clang as the compiler? How about gcc?

Thanks!

Best Regards Nan Xiao

sharklinux commented 9 years ago

If you want to use bpf module, you have to depend on clang, because only llvm have bpf backend, gcc don't have it yet. Install clang is simple, you don't need to install bpf llvm backend, it's already static linked into shark binary.