[plug] binutils statically linked

Craig Dyke grail at westnet.com.au
Mon Sep 20 22:21:59 WST 2004


Hi All

I have recently been wrestling with looking at building an LFS system.

The first package compiled is binutils which sets up some tools such as 
ar, ld, ranlib and so on.

After issuing all the following as a normal user:

./configure --prefix=/tools -disable-nls
make configure-host
make LDFLAGS="-all-static"
make install

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

After some investigating, it appears that the tools installed only like 
to be run from /usr/bin.

Would someone please confirm if this is correct?
If not, please tell me where I have gone wrong?

Craig

PS. I get the same error message if I try to issue:   ld --help      
.... this gives ..... /tools/bin/ld : permission denied
Also, /tools is owned by the user issuing all commands.



More information about the plug mailing list