From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 07:58:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC33816A4B3 for ; Mon, 6 Oct 2003 07:58:18 -0700 (PDT) Received: from newman.gte.com (newman.gte.com [132.197.8.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC2D543FA3 for ; Mon, 6 Oct 2003 07:58:16 -0700 (PDT) (envelope-from ak03@gte.com) Received: from h132-197-179-27.gte.com (kanpc.gte.com [132.197.179.27]) by newman.gte.com (8.9.1/8.9.1) with ESMTP id KAA29651; Mon, 6 Oct 2003 10:57:41 -0400 (EDT) Received: from kanpc.gte.com (ak03@localhost [127.0.0.1]) h96EvfC1006277; Mon, 6 Oct 2003 10:57:41 -0400 (EDT) (envelope-from ak03@kanpc.gte.com) Received: (from ak03@localhost) by kanpc.gte.com (8.12.10/8.12.10/Submit) id h96Evegk006276; Mon, 6 Oct 2003 10:57:40 -0400 (EDT) (envelope-from ak03) Date: Mon, 6 Oct 2003 10:57:40 -0400 From: Alexander Kabaev To: "Chris Knight" Message-Id: <20031006105740.14918b53.ak03@gte.com> In-Reply-To: <000201c38bef$8b6f5600$020aa8c0@aims.private> References: <000201c38bef$8b6f5600$020aa8c0@aims.private> Organization: Verizon Data Services X-Mailer: Sylpheed version 0.9.5claws25 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: ld not sucking in /usr/lib/crt1.o - or is it me? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 14:58:18 -0000 On Mon, 6 Oct 2003 20:52:23 +1100 "Chris Knight" wrote: > > If I add /usr/lib/crt1.o to the file list it works OK. Any reason > why ld isn't pulling this in automatically? Feel free to correct > me if I'm missing the obvious and if there's a better way of > resolving this. Thanks. > ld is not supposed to pull in anything except what was given to it on the command line. Why your build tries to use LD where it should be using CC is a separate question though... -- Alexander Kabaev