Skip to content

Commit

Permalink
Fix windows-x64 build to build as console-mode binary
Browse files Browse the repository at this point in the history
In line with how we build windows-x86 binaries. Without a graphics
subsystem (or graphical console, or ...), we fortunately don't have any
need for GUI-subsystem builds, so we can sidestep this particular mess
in the Windows kernel for now.
  • Loading branch information
earl committed Jul 19, 2015
1 parent 73db358 commit 1c00914
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/systems.r
Expand Up @@ -50,7 +50,7 @@ systems: [
[LEN LL? +O2 UNI W32 CON S4M EXE DIR -LM]

0.3.02 windows-x64 windows
[LLP64 LEN LL? +O2 UNI W32 WIN S4M EXE DIR -LM]
[LLP64 LEN LL? +O2 UNI W32 CON S4M EXE DIR -LM]
;-------------------------------------------------------------------------
0.4.02 linux-x86 linux
[LEN LLC +O2 LDL ST1 -LM LC23]
Expand Down Expand Up @@ -134,7 +134,6 @@ linker-flags: context [
LLOG: "-llog" ; on Android, link with liblog.so

W32: "-lwsock32 -lcomdlg32"
WIN: "-mwindows" ; build as Windows GUI binary
CON: "-mconsole" ; build as Windows Console binary
S4M: "-Wl,--stack=4194300"
-LM: "-lm" ; Math library (Haiku has it in libroot)
Expand Down

0 comments on commit 1c00914

Please sign in to comment.