From owner-freebsd-questions Mon Nov 11 15:40:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B19237B401; Mon, 11 Nov 2002 15:40:47 -0800 (PST) Received: from probity.mcc.ac.uk (probity.mcc.ac.uk [130.88.200.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB01343E4A; Mon, 11 Nov 2002 15:40:45 -0800 (PST) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97]) by probity.mcc.ac.uk with esmtp (Exim 2.05 #7) id 18BOAX-0007VT-00; Mon, 11 Nov 2002 23:40:37 +0000 Received: from dogma.freebsd-uk.eu.org (localhost [127.0.0.1]) by dogma.freebsd-uk.eu.org (8.12.6/8.11.1) with ESMTP id gABNeaPe017852; Mon, 11 Nov 2002 23:40:36 GMT (envelope-from jcm@dogma.freebsd-uk.eu.org) Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.12.6/8.12.6/Submit) id gABNeamE017851; Mon, 11 Nov 2002 23:40:36 GMT Date: Mon, 11 Nov 2002 23:40:35 +0000 From: Jonathon McKitrick To: Dag-Erling Smorgrav Cc: freebsd-chat@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Unresolved reference compiling Objective-C ?? Message-ID: <20021111234035.GA17831@dogma.freebsd-uk.eu.org> References: <20021108173235.GA82490@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-Scanner: exiscan *18BOAX-0007VT-00*inB7hrqREo6* (Manchester Computing, University of Manchester) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Nov 10, 2002 at 03:41:38PM +0100, Dag-Erling Smorgrav wrote: | In other words: always specify libraries at the end of the compiler or | linker command line. So why allow putting them at the beginning, where mistakes like this can happen? Is that ever useful? Would it be wrong to 'assume' all libraries be linked after all object files? jm -- My other computer is your Windows box. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message