From 4e2866d22b2c71937f12f059651ca95ff3f9f9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Sch=C3=B6pflin?= Date: Thu, 12 May 2005 14:51:19 +0000 Subject: [PATCH] Only use -gall when not optimizing, use -g3 for all other cases. [SVN r28841] --- v1/tru64cxx65-tools.jam | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/v1/tru64cxx65-tools.jam b/v1/tru64cxx65-tools.jam index 70fa3482b..cb7ec6032 100644 --- a/v1/tru64cxx65-tools.jam +++ b/v1/tru64cxx65-tools.jam @@ -1,4 +1,5 @@ -# Copyright 2001 David Abrahams. Copyright 2004 Markus Schöpflin. +# Copyright 2001 David Abrahams. +# Copyright 2004, 2005 Markus Schoepflin. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) @@ -20,11 +21,17 @@ # has not been used to avoid the stream of warning messages issued by # ar or ld when creating a library or linking an application. # +# - Debug symbols are generated with "-g3", as this works both in debug and +# release mode. When compiling C++ code without optimization, we additionally +# use "-gall", which generates full symbol table information for all classes, +# structs, and unions. As this turns off optimization, it can't be used when +# optimization is needed. +# # No static linking as far as I can tell. # flags cxx LINKFLAGS static : -bstatic ; -flags tru64cxx65 CFLAGS on : -g ; -flags tru64cxx65 C++FLAGS on : -gall ; +flags tru64cxx65 CFLAGS on : -g3 ; +flags tru64cxx65 C++FLAGS off/on : -gall ; flags tru64cxx65 LINKFLAGS on : -g ; flags tru64cxx65 LINKFLAGS off : -s ; flags tru64cxx65 LINKFLAGS $(SHARED_TYPES) : -shared -expect_unresolved 'Py*' -expect_unresolved '_Py*' ;