[plug] binutils statically linked

James Devenish devenish at guild.uwa.edu.au
Tue Sep 21 08:37:24 WST 2004


In message <20040920145331.GB1055 at postoffice.wa.bom.gov.au>
on Mon, Sep 20, 2004 at 10:53:31PM +0800, Russell Steicke wrote:
> On Mon, Sep 20, 2004 at 10:21:59PM +0800, Craig Dyke wrote:
> > ./configure --prefix=/tools -disable-nls

Just with regards to that line, shouldn't "-disable-nls" really be
"--disable-nls"?

> > make LDFLAGS="-all-static"

Do you know which programme uses -all-static? (Just wondering.)

> > I am told that :      /tools/bin/ranlib: permission denied

Russell's ideas are all good. Can you also run:

% file /tool/bin/ranlib

Does it verify that ranlib is not a dynamically-linked executable? The
reason I ask is that I have a feeling that "permission denied" can also
occur if the permissions on ld.so or ld-linux.so are not correct (e.g.
it might be looking at /tools/lib/ld.so and the permissions on that file
might not be correct). I realise that this should not be the case for
you, since your executables are supposedly statically linked, but it may
be worthwhile ruling it out definitively.





More information about the plug mailing list