Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 1999 14:08:00 -0500 (EST)
From:      Zhihui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   Where is ld?
Message-ID:  <Pine.GSO.3.96.991205140257.18563C-100000@sol.cs.binghamton.edu>

next in thread | raw e-mail | index | archive | help

Can anyone tell me where is the source code of ld and how to make a debug
version of ld?  Will the following commands work for this purpose:

# cd /usr/src/gnu/usr.bin/ld
# touch *.c
# make DEBUG_FLAGS=-g
# make install

When I type "where ld", it says: "/usr/bin/ld".  But when I type ld
without any arguments, it says: "/usr/libexec/elf/ld: no input file".
This confuses me.  I am using FreeBSD 3.3-Release.

Any help is appreciated.

-Zhihui



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.991205140257.18563C-100000>