0

是的,Windows NT 仍然是一些人必须处理的事情。

我想知道是否可以在 NT 上运行用 Go 编译的二进制文件并使用以太网端口进行通信 (MQTT)。如果是这样,我需要注意什么?

我承认我没有在这种情况下进行测试,因为在我当前的环境中根本没有 Win NT 可用。

4

1 回答 1

0

我不认为它会起作用。我下载了使用 Go 的Caddydumpbin在上面运行。我有:

Microsoft (R) COFF/PE Dumper Version 14.00.24210.0
Copyright (C) Microsoft Corporation.  All rights reserved.


Dump of file caddy_windows_amd64.exe

PE signature found

File Type: EXECUTABLE IMAGE

FILE HEADER VALUES
            8664 machine (x64)
...
             223 characteristics
                   Relocations stripped
                   Executable
                   Application can handle large (>2GB) addresses
                   Debug information stripped

OPTIONAL HEADER VALUES
             20B magic # (PE32+)
            3.00 linker version
...
            6.01 operating system version

因此,Windows 的最低支持版本是 NT6,即 Vista。

这似乎得到了一张的支持:

Go 1.10 是支持 Windows Vista 或更低版本的最后一个版本

和:

我们计划宣布 Go 1.10 将成为支持 Windows XP 的最后一个 Go 版本。

所以旧版本的 Go 支持 Windows XP 及更高版本。新版本需要 Vista 及以上版本。

于 2020-09-10T23:01:35.683 回答