[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib cross-compiling issue with musl

From: Paul Eggert
Subject: Re: gnulib cross-compiling issue with musl
Date: Tue, 18 Jun 2013 10:41:45 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6

On 06/18/13 10:03, Rich Felker wrote:
> 1. In the #else case, instead of #error, put if(0)....
> 2. Write a "portable" version of the replacement code

How about this idea instead?

  3.  Modify gl_FUNC_FFLUSH_STDIN so that it checks at
      compile-time whether it's using musl, and succeeds
      in that case.

This should be more robust than (1), and easier to implement
than (2).  Can you suggest code along those lines?  And if
it's nontrivial, would you be willing to sign copyright
papers assigning the code to the FSF?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]