Skip to content

Commit 120547c

Browse files
authored
Merge pull request DOCGroup#4 from mitza-oci/ghs-update
Enable Debug and Release configurations in ghs
2 parents 9a5f176 + f98fe53 commit 120547c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/GHSWorkspaceCreator.pm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ sub pre_workspace {
9696
print $fh "#!gbuild$crlf",
9797
"import ACE_ROOT$crlf",
9898
"import TAO_ROOT$crlf",
99+
'defineConfig(Debug dbg "")', $crlf,
100+
'defineConfig(Release rel "")', $crlf,
99101
"macro __OS_DIR=$ghs_os_dir$crlf",
100102
"macro __BSP_NAME=$ghs_bsp_name$crlf",
101103
"macro __BSP_DIR=\${__OS_DIR}\\\${__BSP_NAME}$crlf",
@@ -112,7 +114,8 @@ sub pre_workspace {
112114
"\t-I\${TAO_ROOT}$crlf",
113115
"\t-language=cxx$crlf",
114116
"\t--new_style_casts$crlf",
115-
"\t-non_shared$crlf";
117+
"\t-non_shared$crlf",
118+
"\t{config(dbg)}-G$crlf";
116119
}
117120

118121
# Write a .int file processed by the Integrate tool to create a dynamic download image.
@@ -158,7 +161,7 @@ sub create_integrity_project {
158161
# Increase to 2MB here to cover more applications.
159162
"\tHeapSize\t\t\t0x200000$crlf",
160163
"\tTask Initial$crlf",
161-
"\t\tStackLength\t\t0x8000$crlf",
164+
"\t\tStackLength\t\t0xa000$crlf",
162165
"\tEndTask$crlf",
163166
"EndAddressSpace$crlf";
164167
close($fh);

0 commit comments

Comments
 (0)