libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Portland compiler support


From: Jeff Squyres
Subject: Re: Portland compiler support
Date: Thu, 24 Feb 2005 09:37:11 -0500

For those not following the libtool-patch list, Peter wrote up a nice patch that seems to be working perfectly. It's been committed on branch-1-5.


On Feb 22, 2005, at 5:35 PM, Peter O'Gorman 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).

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?

Hi Jeff,

In a case such as this it would probably be best to set
whole_archive_flag_spec to the empty string. This will cause libtool to
unpack the static archive and add the objects to the link line. I'll look
and send you a patch to try tonight (JST).

Peter
--
Peter O'Gorman - http://www.pogma.com


--
{+} Jeff Squyres
{+} address@hidden
{+} http://www.lam-mpi.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]