This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: unable to build gcc 4.9.0 for i686-elf target with posix threads
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ragnar RÃÃtel <ragnar dot ruutel at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 2 Jul 2014 15:27:17 +0100
- Subject: Re: unable to build gcc 4.9.0 for i686-elf target with posix threads
- Authentication-results: sourceware.org; auth=none
- References: <CAPY8rQUY-kc+VC-kaTCBzAERxUCDB2tAp_v4nT_nw6zbAcsstw at mail dot gmail dot com> <CAH6eHdTsazK8crz+HU4QXwUXqUc=PEc7ykO2MgSF5NR30afDmQ at mail dot gmail dot com> <CAPY8rQXp=+h-0UPEGDMfVmWR9UV-+WSuGDKmr5ukE3nm0JFuEQ at mail dot gmail dot com>
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.