multilib fun - devel packages
Jakub Jelinek
jakub at redhat.com
Fri Dec 9 08:48:14 UTC 2005
On Fri, Dec 09, 2005 at 08:42:23AM +0000, Joe Orton wrote:
> On Fri, Dec 09, 2005 at 03:19:14AM -0500, Jakub Jelinek wrote:
> > On Fri, Dec 09, 2005 at 08:12:30AM +0000, Joe Orton wrote:
> > > > 2) Wordsize specific #defines and similar in a header file.
> > >
> > > Not possible without massive deviation from upstream.
> >
> > Unless you do it cleanly and push the changes upstream?
> > glibc does this in the upstream headers, so why couldn't other
> > packages do that as well?
> >
> > If the only differences are wordsize related, you can e.g.
> > portably #include <limits.h> and do:
>
> The differences are generally because the entire header is
> autoconf-generated so really the whole thing would have to be renamed
> for each platform and an #if/#include stub put in its place. This is
> feasible but ugly and upstream would have little interest in maintaining
> such hacks (it's not as if I've ever heard any user cry out for this
> "problem" to be solved).
It is really not hard to generate the file even in autoconf such that
it works for both ABIs.
Jakub
More information about the Fedora-maintainers
mailing list