What is 'ld' command and how to install 'binutils' package?

Using applications, configuring, problems
Post Reply
Message
Author
User avatar
sling-shot
Posts: 109
Joined: Fri 19 Aug 2005, 07:01
Location: India

What is 'ld' command and how to install 'binutils' package?

#1 Post by sling-shot »

In my quest towards installing nvidia drivers, i have crossed the first hurdle by managing to install the ldconfig command/utility.

Now the next challenge being thrown is about this 'ld' command. Which nvidia tells me will be magically available if i install the 'binutilis'. As usual i could not figure out anything useful out of my search of these forums :-) SO waiting to be SPOON FED :-) :-)
Thanks,
-SS.
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

http://www.gnu.org/software/binutils/

It might be wise to compile with

./configure --prefix=/usr/local/binutils-2.17
make
make install

This should avoid they overwrite some of Puppys files.
Or even don't run "make install".
Then copy "ld" to /root/my-applications/bin

Mark

User avatar
sling-shot
Posts: 109
Joined: Fri 19 Aug 2005, 07:01
Location: India

#3 Post by sling-shot »

Thanks Mark :-)
-SS.
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#4 Post by muggins »

i'm using pup1.08 primarily, and ld is included in the usr_devx.sfs module. wouldn't it be in the equivalent devx_2xx.sfs?

User avatar
sling-shot
Posts: 109
Joined: Fri 19 Aug 2005, 07:01
Location: India

#5 Post by sling-shot »

I have a harddrive install with the devx_*** file in the / and /root directories (i could not figure out the exact location for that) but it does not seem to be read/considered by the booting Puppy???
So I have to go after individual libraries?

Do you know why it is not being read?
-SS.
I am a nobody. Nobody is perfect. So I am perfect.
STATUS:Trying to begin life in Linux World.

User avatar
Gn2
Posts: 943
Joined: Mon 16 Oct 2006, 05:33
Location: virtual - Veni vidi, nihil est adpulerit

#6 Post by Gn2 »

S-S

Why do you think installing Nvidia proprietary wrappers needs the ld command ?
You may have a misconception of what ld is & how it is used ?
(It is a CLI (binary) command)

Please use info <or> man ld.
LD

muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#7 Post by muggins »

slingshot,

if you've got a co-exist(frugal) install, than devx_2xx.sfs has to be in /mnt/home. if you've got a normal(full) pup2xx install, than see this link:

http://puppyos.com/hard-puppy.htm

(N.B. 2/3 down the page regarding c/c++ compiling)

Post Reply