From owner-freebsd-questions Thu May 9 14:53:44 2002 Delivered-To: freebsd-questions@freebsd.org Received: from corbulon.video-collage.com (corbulon.video-collage.com [64.35.99.179]) by hub.freebsd.org (Postfix) with ESMTP id 9173A37B40C; Thu, 9 May 2002 14:53:37 -0700 (PDT) Received: from misha.murex.com (250-217.customer.cloud9.net [168.100.250.217]) by corbulon.video-collage.com (8.12.2/8.12.2) with ESMTP id g49LrP5D040658 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 9 May 2002 17:53:30 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) X-Authentication-Warning: corbulon.video-collage.com: Host 250-217.customer.cloud9.net [168.100.250.217] claimed to be misha.murex.com Content-Type: text/plain; charset="windows-1251" From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Terry Lambert Subject: Re: does the order of .a files matter? Date: Thu, 9 May 2002 17:52:06 -0400 X-Mailer: KMail [version 1.4] Cc: questions@FreeBSD.org, current@FreeBSD.org References: <200205082044.09459.mi+mx@aldan.algebra.com> <3CD9D669.9175E309@mindspring.com> In-Reply-To: <3CD9D669.9175E309@mindspring.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200205091752.06823.mi+mx@aldan.algebra.com> 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 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 -l, 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-questions" in the body of the message