From owner-freebsd-questions Sun Dec 5 12:21: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id 23D1B15449 for ; Sun, 5 Dec 1999 12:21:01 -0800 (PST) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id PAA01510 for ; Sun, 5 Dec 1999 15:21:01 -0500 (EST) Date: Sun, 5 Dec 1999 14:08:00 -0500 (EST) From: Zhihui Zhang To: freebsd-questions@freebsd.org Subject: Where is ld? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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