summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_psos_diab_ppc.GNU
diff options
context:
space:
mode:
authorcdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-22 18:23:33 +0000
committercdgill <cdgill@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-22 18:23:33 +0000
commit2f30cc9944ed16f28270831b364aa387a9f46299 (patch)
treeae663389944f8e9790889dc5d1f43e886a23e8ee /include/makeinclude/platform_psos_diab_ppc.GNU
parent53344f9a7b031c4da4c4837424c75a3961847ac7 (diff)
downloadATCD-2f30cc9944ed16f28270831b364aa387a9f46299.tar.gz
removed -g switch
Diffstat (limited to 'include/makeinclude/platform_psos_diab_ppc.GNU')
-rw-r--r--include/makeinclude/platform_psos_diab_ppc.GNU16
1 files changed, 9 insertions, 7 deletions
diff --git a/include/makeinclude/platform_psos_diab_ppc.GNU b/include/makeinclude/platform_psos_diab_ppc.GNU
index 0216a4bbc80..f347872cd48 100644
--- a/include/makeinclude/platform_psos_diab_ppc.GNU
+++ b/include/makeinclude/platform_psos_diab_ppc.GNU
@@ -37,10 +37,7 @@ PSOSINCL = -I$(PSS_ROOT)/include -I$(PSS_BSP)
# PSOSINCL = -Y I,$(PSS_ROOT)/include -I$(PSS_BSP)
# hacks to resolve incompatibilities between the compiler and OS headers
-#DIAB_PSOS_HACKS = -D__Itypes -D_TIME_T_DEFINED -D_WCHAR_T_DEFINED -D__wchar_t //original line
-#sandass's stuff is below
DIAB_PSOS_HACKS = -D__Itypes -D_WCHAR_T_DEFINED -D__wchar_t
-# DIAB_PSOS_HACKS = -D__Itypes -D_WCHAR_T_DEFINED -D__wchar_t
# ================================================================
# Compilation Settings and Flags
@@ -91,8 +88,12 @@ CFLAGS += -D__DIAB -D__DIAB_42a -Xkill-opt=0x400 -Xno-old-style -Xlint $(PSOSINC
# -# prints subprograms with arguments as they are executed
# -## prints subprograms with arguments without executing them
# -### prints subprograms with arguments (in quotes) without executing them
-# -g embeds debug info but turns off a bunch of optimizations, including inlining
-# -g1 embeds debug info but not line numbers, and preserves inlining
+# -g embeds debug info but turns off a bunch of optimizations,
+# including inlining. It may also trigger a known bug in the Diab 4.2b
+# and earlier compilers that results in an internal compiler error
+# about ctmpl_copystm () when compiling certain ACE tests.
+# -g1 embeds debug info but not line numbers, and preserves inlining. It may
+# also trigger the same compiler bugs that -g triggers.
# -v runs the compiler in verbose mode
# -w suppresses warnings
# -H prints path names of all include files to stderr
@@ -107,8 +108,9 @@ CFLAGS += -D__DIAB -D__DIAB_42a -Xkill-opt=0x400 -Xno-old-style -Xlint $(PSOSINC
# -Xstop-on-warning treats warnings like errors and stops compilation
# -Xinit-locals[=<mask>] initializes memory pattern for local variables
# -Xno-optimized-debug turns off optimizations for debugging
-# sandass was here
-DCFLAGS += -g -w -Ws
+DCFLAGS += -w -Ws
+#DCFLAGS += -g1 -w -Ws
+#DCFLAGS += -g -w -Ws
#DCFLAGS += -g -w -Ws -P -o precomp.out
#DCFLAGS += -g -w -Ws -H