-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ross Boylan wrote:

| I verified with nm that both the R and boost test libraries define
| (not just refer to) the symbol _main.

Hmm, that is a little strange, I just built R (the fink package for 2.0.1)
and don't have a _main function defined in or referenced from the R framework.

| I'm stunned it works at all.  For example, the documentation on the
| loader on OS X seems to imply it will barf on doubly defined symbols.
This totally depends on how the library was linked.


| On linux, when I changed the order of the libs, the boost test suite | took control and ran all the tests I had specified. That was the | behavior I wanted.

This should also work on darwin/Mac OS X, the linker will (normally) use the
first definition it sees. Please let me know how to reproduce your setup and
I'll try to have something by year-end.

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQCVAwUBQbsZEriDAg3OZTLPAQICpAP/XIlkWUPyCtuPK4V7NJrptZnFchlssxej
JqZXd2ubQOAr1ScYfTOt/6l0tHPQpLGriNStTANtuBekPMlwtkCkobTdUiSXflyI
OCEh//GoDWuFEzK6DO/6uNZrX17XT6+kfISp67+fOamJpMj4HICIm9MvAOsHSJr9
WGuz097hKHE=
=6i4Q
-----END PGP SIGNATURE-----


_______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to