From owner-freebsd-current Fri May 10 5:33:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by hub.freebsd.org (Postfix) with ESMTP id 5296137B401 for ; Fri, 10 May 2002 05:33:40 -0700 (PDT) Received: from corbulon.video-collage.com (localhost [127.0.0.1]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g4ACXc5D041094 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 10 May 2002 08:33:39 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from mi@localhost) by corbulon.video-collage.com (8.12.2/8.12.2/Submit) id g4ACXctb041093; Fri, 10 May 2002 08:33:38 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200205101233.g4ACXctb041093@corbulon.video-collage.com> Subject: Re: does the order of .a files matter? In-Reply-To: <3CDAF9F7.B70C8315@mindspring.com> To: Terry Lambert Date: Fri, 10 May 2002 08:33:38 -0400 (EDT) Cc: current@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL92b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > Is there a reason for it, or this just a not-yet-implemented > > feature? It certainly seems like the latter -- why make the user > > jump through all the sorting/reordering hoops? > Generally, this won't be necessary for properly organized code. The > code in question is organized by software layering, right, so all you > have to do is link the libraries in order? In other words, your answer is: "This just a not-yet-implemented feature"? > > = You might also want to consider using -L -l, > > = instead of trying to link .a's directly. > > > > What would this do? > > Make it all go through the library linking code, instead of the single > object archive linking code. a ".a" file treated as an object is not > the same as a library. What's the difference if all I have are the static libraries anyway? I actually tried this, and had the exactly same list of allegedly undefined symbols... -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message