Re: Bug#322724: ncurses doesn't build with gcc -m64 on i386
Daniel Jacobowitz writes:
> On Sat, Aug 13, 2005 at 01:01:25PM +0900, GOTO Masanori wrote:
> > I expect a future biarch (that provides x86_64 and i386 packages at
> > the same time on the same machine) saves this problem. During
> > DebConf5, Scott proposed dpkg filter mechanism, and Tollef proposed
> > dpkg multiarch extension Features:. I think the approach "biarch
> > mechanism in dpkg" is sane. But if the current biarch is not usable
> > well, we should consider to support x86_64 glibc/lkh in the standard
> > i386 package.
> Yes, absolutely. IIRC Matthias said Jeff was looking into this.
> I think to get it to work we'd need to install the x86_64 headers
> instead of the i386 ones.
the other possibility is to install the headers in
/usr/include/x86_64-linux/gnu, which is searched by the Debian gcc,
when called with -m64 (currently 4.0 only).