Hi, the Portland Group C++ compiler has two equivalent names that do the same: pgCC and pgcpp. libtool currently only supports the former one; it would be good if you could add support for both versions.
Patch attached. Cheers, Til
--- libtool/libltdl/m4/libtool.m4.orig 2007-08-03 17:35:29.550574299 +0200
+++ libtool/libltdl/m4/libtool.m4 2007-08-03 17:36:14.853143903 +0200
@@ -3564,7 +3564,7 @@
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
- pgCC*)
+ pgCC* | pgcpp* )
# Portland Group C++ compiler
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
@@ -5815,10 +5815,10 @@
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
;;
- pgCC*)
+ pgCC* | pgcpp* )
# Portland Group C++ compiler
case `$CC -V` in
- *pgCC\ [[1-5]]*)
+ *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]* )
_LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
rm -rf $tpldir~
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Bug-libtool mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-libtool
