Date: Thu, 9 May 2002 17:52:06 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: Terry Lambert <tlambert2@mindspring.com> Cc: questions@FreeBSD.org, current@FreeBSD.org Subject: Re: does the order of .a files matter? Message-ID: <200205091752.06823.mi%2Bmx@aldan.algebra.com> In-Reply-To: <3CD9D669.9175E309@mindspring.com> References: <200205082044.09459.mi%2Bmx@aldan.algebra.com> <3CD9D669.9175E309@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 08 May 2002 09:52 pm, Terry Lambert wrote: = Mikhail Teterin wrote: [...] = > The most frustrating thing is, the number of such symbols varies = > greatly with the order, in which I list the libraries on the command = > line. Is not the linker supposed to make several runs over the given = > libraries if needed? = = No. It doesn't make several runs. It only does that for single = object files. 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? = You might also want to consider using -L<path> -l<library>, instead = of trying to link .a's directly. What would this do? Thanks! -mi P.S. Yes, packing all object files into a single giant .a helped... -- Как, Вы разве без шпаги пришли? 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?200205091752.06823.mi%2Bmx>