PDA

View Full Version : ld command not found



Carnavan7
March 4th, 2007, 04:41 PM
Hi all, not sure if this is the correct forum but here goes.

I have been following an assembly tutorial, converted the file with nasm etc but when I have to type : ld -o myprog myprog.obj to link it, it just says command not found.

I am running the x86 version of dapper. The only thing I have installed to do this project is nasm. Im guessing there are some dev tools I might need? I have googled and searched the forums but cannot seem to find a solution.

Thanks in advance for any help.

hod139
March 4th, 2007, 08:05 PM
You should be able to use gcc for the linking. Make sure you have the package build-essential installed.

Carnavan7
March 4th, 2007, 09:36 PM
Thanks allot. That solved the problem. Pity it wasnt mentioned in the tutorial lol. Cheers :)