Date: Thu, 9 May 2002 11:28:09 +0100 (BST) From: Andrew Gordon <arg-bsd@arg1.demon.co.uk> To: Ian <freebsd@damnhippie.dyndns.org> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: does the order of .a files matter? Message-ID: <20020509111336.V9334-100000@server.arg.sj.co.uk> In-Reply-To: <B8FF31BF.CCB4%freebsd@damnhippie.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 May 2002, Ian wrote: > > > > I'm trying to port a huge application to FreeBSD. The app's build > > process creates over a hundred of static libraries (.a) and then tries > > to link them (and a few object files) into the executable. The process > > seems to work fine on the existing platforms (a number of Unixes and > > NT), but on FreeBSD I keep getting unresolved symbols. > > > > There are a few linker command line options that may help you through this > kind of problem. (IMO, there should be an option for just making multiple > passes over the libraries, but it appears there isn't one.) There is: --start-group somelib.a otherlib.a morelibs.a --end-group 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?20020509111336.V9334-100000>