84
edits
m (Text replacement - "www.scummvm.org/frs/" to "downloads.scummvm.org/frs/") Tags: Mobile edit Mobile web edit |
|||
Line 394: | Line 394: | ||
strip scummvm.exe | strip scummvm.exe | ||
== Compiling with Console/Text Output == | |||
By default ScummVM is compiled as a Windows subsystem application with no console output. If you need the console, you will need to apply the following patch: | |||
<syntaxhighlight lang="diff"> | |||
diff --git a/configure b/configure | |||
index 838c759b75..04cfd361dd 100755 | |||
--- a/configure | |||
+++ b/configure | |||
@@ -6070,6 +6070,9 @@ case $_host_os in | |||
append_var CXXFLAGS "-fdata-sections" | |||
append_var LDFLAGS "-Wl,--gc-sections" | |||
;; | |||
+ mingw*) | |||
+ LIBS=`echo $LIBS | sed -e 's/-mconsole//g' -e 's/-mwindows//g'` | |||
+ ;; | |||
n64) | |||
# Move some libs down here, otherwise some symbols requires by libvorbis aren't found | |||
# during linking stage | |||
</syntaxhighlight> | |||
Save it to your root directory and apply it with <code>patch -p1 -i path-to-patch.diff</code>. | |||
== Ready to go! == | == Ready to go! == | ||
OK this should be all of it (thankfully), so you should be good to go. | OK this should be all of it (thankfully), so you should be good to go. |
edits