I just created a toy project based with templated functions on the one
from that thread and I get similar errors. So no, it's not solved.
Do you know the right pgCC mojo to compile libraries with templates?
On Feb 24, 2005, at 9:45 AM, Markus Christen wrote:
Jeff Squyres wrote:
I have recently discovered that the Portland support that I sent
patches in for does not work for shared libraries (a LAM/MPI user
told me this -- not the Portland support group, which I find odd).
HINT: PGI -- I'd really like to hear from you; I heard nothing from
you last time, which ended up in incorrect support for PGI compilers
in Libtool. Let's not get this wrong again and cause confusion for
your customers...
The issue is that when making shared libraries with --whole-archive,
the PGI linker needs one big argument
("-Wl,--whole-archive,foo.a,bar.a,baz.a") as opposed to a
space-sparated list ("-Wl,--whole-archive foo.a bar.a baz.a").
I'm trolling through the source code to figure out how to do this --
I see that $convenience is built up as a space separated list. I'm
trying to figure out the exact flow of things, but my first
impression is that it might be easiest to just parameterize on the
delimiter (" " or ",") in $convenience. Am I off base here?
(still trolling through the code; I am *not* a Libtool expert!
Comments / suggestions would be appreciated!)
hi
would that take care of the problem with templates and libraries (and
convenience libraries)?
(confirmed by Ralf)
i would still be interested...
thread: portland compiler, convenience libraries and templates
http://lists.gnu.org/archive/html/libtool/2004-12/msg00015.html
thanks
markus
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool