[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unwanted shared runtime libraries getting added
From: |
Ralf Wildenhues |
Subject: |
Re: Unwanted shared runtime libraries getting added |
Date: |
Sat, 16 Oct 2010 10:32:13 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
* Ethan Mallove wrote on Fri, Oct 15, 2010 at 08:59:38PM CEST:
> On Mon, Oct/11/2010 09:01:56PM, Ralf Wildenhues wrote:
[...]
> >
> > This doesn't have the libraries you don't want, AFAICS. So a workaround
> > (using internal details, but fairly safe) would be to use
> > libmpi_cxx_la_LIBTOOLFLAGS = --tag=CC
> >
> > Note however that you get to keep the pieces when this breaks.
>
> I end up getting *both* --tag=CXX and ---tag=CC:
>
> /bin/sh ../../../libtool --tag=CXX --tag=CC --mode=link icpc -O3 -DNDEBUG
> -Wall -static-intel -m32 -finline-functions -fexceptions -pthread
> -version-info 0:0:0 -export-dynamic -fexceptions -o libmpi_cxx.la -rpath
> /opt/SUNWhpc/HPC9.0/intel/lib libmpi_cxx_la-mpicxx.lo
> libmpi_cxx_la-intercepts.lo libmpi_cxx_la-comm.lo libmpi_cxx_la-datatype.lo
> libmpi_cxx_la-win.lo libmpi_cxx_la-file.lo ../../../ompi/libmpi.la -lnsl
> -lutil
OK, sorry, the following should work instead:
libmpi_cxx_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
$(CXXFLAGS) $(libmpi_cxx_la_LDFLAGS) $(LDFLAGS) -o $@
If you don't set libmpi_cxx_la_LDFLAGS yourself, you should replace that
with AM_LDFLAGS in the above string.
Cheers,
Ralf
- Re: Unwanted shared runtime libraries getting added, (continued)
- Re: Unwanted shared runtime libraries getting added, Ralf Wildenhues, 2010/10/08
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/08
- Re: Unwanted shared runtime libraries getting added, Ralf Wildenhues, 2010/10/08
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/08
- Re: Unwanted shared runtime libraries getting added, Robert Boehne, 2010/10/08
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/11
- Re: Unwanted shared runtime libraries getting added, Ralf Wildenhues, 2010/10/11
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/11
- Re: Unwanted shared runtime libraries getting added, Ralf Wildenhues, 2010/10/11
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/15
- Re: Unwanted shared runtime libraries getting added,
Ralf Wildenhues <=
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/18
- Re: Unwanted shared runtime libraries getting added, Ethan Mallove, 2010/10/20
- Re: Unwanted shared runtime libraries getting added, Ralf Wildenhues, 2010/10/21