Date: Fri, 10 May 2002 08:33:38 -0400 (EDT) From: Mikhail Teterin <mi@corbulon.video-collage.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: current@FreeBSD.org Subject: Re: does the order of .a files matter? Message-ID: <200205101233.g4ACXctb041093@corbulon.video-collage.com> In-Reply-To: <3CDAF9F7.B70C8315@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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<path> -l<library>, > > = 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205101233.g4ACXctb041093>