From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 25 Mar 2013 13:10:04 +0100 From: tlaronde@polynum.com To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Message-ID: <20130325121004.GA18741@polynum.com> References: <20130323100519.GA3980@polynum.com> <2087087D-B83B-43EE-8CA9-D3B578C91938@gmail.com> <3016266.MVcRYAfMTf@coil> <20130325111628.GA5305@polynum.com> Mime-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.4.2.3i Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: Re: [9fans] mk and transitive dependencies (was: gcc not an option for Plan9) Topicbox-Message-UUID: 3489b98e-ead8-11e9-9d60-3106f5b1d025 On Mon, Mar 25, 2013 at 11:55:19AM +0000, Charles Forsyth wrote: > > the loaders do that using pragma lib: > The order of search to resolve undefined symbols is to load > all files and libraries mentioned explicitly on the command > line, and then to resolve remaining symbols by searching in > topological order libraries mentioned in header files > included by files already loaded ... Who said that nothing is learnt from reading the list ?! Thanks: didn't know it was doing all that (it seems it does for static libraries what a dynamically shared libraries loader does for these ones). -- Thierry Laronde http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C