Re: migrating dpkg-cross diversions into dpkg-dev (was Dependencies on shared libs)
On Fri, 24 Aug 2007, Neil Williams wrote:
> On Fri, 24 Aug 2007 14:44:01 +0200
> Raphael Hertzog <email@example.com> wrote:
> > > The second stage is to replace the dpkg-shlibdeps diversion too. It has
> > > to identify the shared dependencies of a foreign binary, then look up
> > > the packages that provide those. It needs updating because it is
> > > currently somewhere around dpkg-dev 1.10. The standard dpkg method has
> > > to be adapted for cross-building because you can't read the binaries
> > > normally.
> > If dpkg-cross can depend on binutils-multiarch, then dpkg-shlibdeps needs
> > no modification to be able to read binaries.
> I'll look into that. I know there's been a lot of discussion around
> multiarch in the past. I'll have to check on the current status.
It's unrelated to 'multiarch' as we know it. It's just a version of the
binutils tools that can cope with multiple architectures.
> > We could detect that cross-compiling mode simply because the analyzed
> > binaries do not match the host binaries.
> Is it possible to use a more routine method of checking the values
> returned by dpkg-architecture?
> (e.g. in makefile syntax)
> DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
> DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
Premier livre français sur Debian GNU/Linux :