On Fri, 3 Sep 2004 15:27:43 +0200 (CEST), Marco van de Voort wrote > > On 3 sep 2004, at 14:33, Olle Raab wrote: > > > >> this for legacy *nix compatibility using an environment variable). > > > > > > Can it help by changing the link order ? Or it is not possible wiht a 2 > > > level ns.. ? > > > > Hmm, yes, that's probably it. The two-level namespace is the reason > > that the order of the libraries and objects on the command line matters > > under Darwin... We'd have to introduce some compiler switches to > > influence the order in which the compiler passes the objects and > > libraries to the linker then though. > > We need this afaik for gtk2 too. > > I was thinking about a simple global file with libnames and weights, > with a possibility to override on the commandline. > > Simple, generic, and configurable.
This doesn't look very transparent to me (another place for configuration maintenance). What about optional parameter for $LINKLIB or something like that? Tomas _______________________________________________ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal