On Tue, 11 Sep 2018, Andrew Stubbs wrote: > On 05/09/18 15:44, Joseph Myers wrote: > > On Wed, 5 Sep 2018, Andrew Stubbs wrote: > > > > > I suppose someone might choose to compile things on an alternative system > > > for > > > running on a compatible system, in which case we'd want to simply skip > > > this > > > binary. > > > > > > How does one normally do this? > > > > I'd expect a configure test plus makefile conditionals in the makefile > > fragment. > > Is it sufficient to simply exclude it from extra_programs in config.gcc?
That should work (given the appropriate configure test somewhere for availability of -ldl). -- Joseph S. Myers jos...@codesourcery.com