Re: cvs: php4 / acinclude.m4

From: Date: Mon, 10 Jul 2000 20:08:02 +0000
Subject: Re: cvs: php4 / acinclude.m4
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-711@lists.php.net to get a copy of this message
> Small question about this. I have had problems with such links before on > various platforms. > Is there some kind of standard that says how linking libraries should work? > Theoretically shouldn't the linker be able to deal with libraries which > aren't in the "right" order? By keeping some kind of table? Anything is possible in theory. But that's now how linkers work. -lfoo -lbar In this order it means that libfoo can access symbols in libbar, but the reverse is not true. If libbar contains calls to functions provided by libfoo and vice versa, you would need: -lfoo -lbar -lfoo And yes, that is pretty moronic. Unfortunately stuff like Oracle is renowned for doing this. -Rasmus

« previous php.cvs (#711) next »