[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Support -model [arg] with Tru64 UNIX C++ compiler
From: |
Albert Chin |
Subject: |
Support -model [arg] with Tru64 UNIX C++ compiler |
Date: |
Tue, 7 Dec 2004 21:59:00 -0600 |
User-agent: |
Mutt/1.5.6i |
With the Tru64 UNIX C++ compiler, -model [arg] selects the layout of
C++ classes, name mangling, and exception handling. It is important to
preserve this when compiling and linking.
Patch against HEAD.
--
albert chin (address@hidden)
-- snip snip
2004-12-07 Albert Chin-A-Young <address@hidden>
* config/ltmain.m4sh: Preserve -model [arg] option, used
with the Tru64 UNIX C++ compiler. This option selects the
layout of C++ classes, name mangling, and exception handling.
Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.30
diff -u -3 -p -r1.30 ltmain.m4sh
--- config/ltmain.m4sh 2 Dec 2004 16:40:55 -0000 1.30
+++ config/ltmain.m4sh 8 Dec 2004 03:56:38 -0000
@@ -2629,6 +2629,16 @@ func_mode_link ()
continue
;;
+ # Tru64 UNIX uses -model [arg] to determine the layout of C++
+ # classes, name mangling, and exception handling.
+ -model)
+ compile_command="$compile_command $arg"
+ compiler_flags="$compiler_flags $arg"
+ finalize_command="$finalize_command $arg"
+ prev=xcompiler
+ continue
+ ;;
+
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
deplibs="$deplibs $arg"
continue
- Support -model [arg] with Tru64 UNIX C++ compiler,
Albert Chin <=