| ... | @@ -73,7 +73,6 @@ static int usage(const char *arg0) { | ... | @@ -73,7 +73,6 @@ static int usage(const char *arg0) { |
| 73 | " -rpath $path add directory to the runtime library search path\n" | 73 | " -rpath $path add directory to the runtime library search path\n" |
| 74 | " -mconsole (windows) --subsystem console to the linker\n" | 74 | " -mconsole (windows) --subsystem console to the linker\n" |
| 75 | " -mwindows (windows) --subsystem windows to the linker\n" | 75 | " -mwindows (windows) --subsystem windows to the linker\n" |
| 76 | " -municode (windows) link with unicode\n" | | |
| 77 | " -framework $name (darwin) link against framework\n" | 76 | " -framework $name (darwin) link against framework\n" |
| 78 | " -mios-version-min $ver (darwin) set iOS deployment target\n" | 77 | " -mios-version-min $ver (darwin) set iOS deployment target\n" |
| 79 | " -mmacosx-version-min $ver (darwin) set Mac OS X deployment target\n" | 78 | " -mmacosx-version-min $ver (darwin) set Mac OS X deployment target\n" |
| ... | @@ -302,7 +301,6 @@ int main(int argc, char **argv) { | ... | @@ -302,7 +301,6 @@ int main(int argc, char **argv) { |
| 302 | const char *target_environ = nullptr; | 301 | const char *target_environ = nullptr; |
| 303 | bool mwindows = false; | 302 | bool mwindows = false; |
| 304 | bool mconsole = false; | 303 | bool mconsole = false; |
| 305 | bool municode = false; | | |
| 306 | bool rdynamic = false; | 304 | bool rdynamic = false; |
| 307 | const char *mmacosx_version_min = nullptr; | 305 | const char *mmacosx_version_min = nullptr; |
| 308 | const char *mios_version_min = nullptr; | 306 | const char *mios_version_min = nullptr; |
| ... | @@ -487,8 +485,6 @@ int main(int argc, char **argv) { | ... | @@ -487,8 +485,6 @@ int main(int argc, char **argv) { |
| 487 | mwindows = true; | 485 | mwindows = true; |
| 488 | } else if (strcmp(arg, "-mconsole") == 0) { | 486 | } else if (strcmp(arg, "-mconsole") == 0) { |
| 489 | mconsole = true; | 487 | mconsole = true; |
| 490 | } else if (strcmp(arg, "-municode") == 0) { | | |
| 491 | municode = true; | | |
| 492 | } else if (strcmp(arg, "-rdynamic") == 0) { | 488 | } else if (strcmp(arg, "-rdynamic") == 0) { |
| 493 | rdynamic = true; | 489 | rdynamic = true; |
| 494 | } else if (strcmp(arg, "--each-lib-rpath") == 0) { | 490 | } else if (strcmp(arg, "--each-lib-rpath") == 0) { |
| ... | @@ -790,7 +786,6 @@ int main(int argc, char **argv) { | ... | @@ -790,7 +786,6 @@ int main(int argc, char **argv) { |
| 790 | } | 786 | } |
| 791 | | 787 | |
| 792 | codegen_set_windows_subsystem(g, mwindows, mconsole); | 788 | codegen_set_windows_subsystem(g, mwindows, mconsole); |
| 793 | codegen_set_windows_unicode(g, municode); | | |
| 794 | codegen_set_rdynamic(g, rdynamic); | 789 | codegen_set_rdynamic(g, rdynamic); |
| 795 | if (mmacosx_version_min && mios_version_min) { | 790 | if (mmacosx_version_min && mios_version_min) { |
| 796 | fprintf(stderr, "-mmacosx-version-min and -mios-version-min options not allowed together\n"); | 791 | fprintf(stderr, "-mmacosx-version-min and -mios-version-min options not allowed together\n"); |