So as I understand from You and Brain Drummond, all I need is to set GCC target as i686-unknown-linux-gnu and link my tools statically and they should work for majority of linux distributions? On Wed, Jul 2, 2014 at 5:27 PM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: > On 2 July 2014 14:36, Ragnar Rüütel wrote: >> I need to create linux binaries of my tools that will run on any x86 >> linux distribution. So I can compile them once and copy to other linux >> machines. As I understood i686-elf target should be best choice for >> this. > > No, probably not. > > You should either look into static linking, or just compile on a > *really* old GNU/Linux distribution so that it will run on any modern > systems.