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

Re: [libvirt] PATCH: configure.in should use 'ld' from $PATH for checking version-script syntax, not hardcode /usr/bin/ld



On Mon, Nov 16, 2009 at 05:15:04PM +0100, Paolo Bonzini wrote:
> On 11/16/2009 03:01 PM, Daniel Veillard wrote:
> >   The only thing I could gather is using -Wl,-debug option of gcc on a
> >compile + link simple test and then parse stderr to find 'ld '
> >But that's still completely gcc specific, so ACK for current patch,
> 
> The right one is to use "`gcc --print-prog-name=ld`".

That assumes the person is using GCC, which is not a pre-requisite
for libvirt. eg Solaris builds use the Solaris compiler suite

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


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