google / sandboxed-api

Generate sandboxes for C/C++ libraries automatically
https://developers.google.com/sandboxed-api/
Apache License 2.0
1.67k stars 192 forks source link

Document how to get started on other Linux distributions #16

Open cblichmann opened 5 years ago

cblichmann commented 5 years ago

Sandboxed API should build/work on all major Linux distributions. We should provide at least some basic instructions for distributions other than Debian/Ubuntu:

cblichmann commented 5 years ago

Collecting the information for Fedora 29:

# Install Bazel (https://docs.bazel.build/versions/master/install-redhat.html)
sudo dnf install dnf-plugins-core
sudo dnf copr enable vbatts/bazel
sudo dnf install bazel

# Install necessary development tools
sudo dnf install patch gcc-c++ glibc-static libstdc++-static clang-devel \
  python2-clang python2-typing

# Force the use of the Gold linker
sudo alternatives --config ld
[ Select /usr/bin/ld.gold ]
Vincenzo-Petrolo commented 3 years ago

Hi, i'm trying to embed te library and my current distribution is Arch Linux. I have now some problems because i cannot compile correctly my library, but apart from that here are some hints i can give to write the Getting started for Arch based distributions: