Patches for support of Cray's compiler

2014-11-20 Thread Eric Bavier
I'm sending two patches that are the beginnings of support for Cray's compiler in libtool. I believe this bit of porting will be sufficient for most uses of libtool at this point, and is of course much better than the current state. The first patch is a trivial change to an assumption made in one

[PATCH 1/2] tests: Do not assume compiler prefers shared libraries.

2014-11-20 Thread Eric Bavier
Testing whether -static-libtool-libs causes a non-libtool library to be linked dynamically is effectively a test of the compiler's preference in this case. The Cray compiler prefers static libraries if not told otherwise. * tests/static.at [static linking flags for programs]: Do not expect -sta

[PATCH 2/2] libtool: preliminary support for the Cray compiler.

2014-11-20 Thread Eric Bavier
This patch adds preliminary support for the Cray Compiler Environment (CCE) to libtool. Main issues: - When linking a static executable, the value of the STRIP environment variable must be an absolute file name. - Symbols will be stripped from shared libraries during creation if the