Rehtt
V2EX  ›  问与答

请问有什么办法可以在 idea 里编译 go 时使用 WSL 的 gcc

  •  
  •   Rehtt · Jun 24, 2019 · 3894 views
    This topic created in 2696 days ago, the information mentioned may be changed or developed.

    已经习惯使用 idea 写 go,而编译 go 时需要使用 gcc,WSL 有安装 gcc 所以不想再给 windows 装了。所以想问问有什么办法可以在 windows 的 idea 里编译 go 时使用 WSL 的 gcc。

    7 replies  •  2019-06-25 11:06:11 +08:00
    lifanxi
    lifanxi
    Jun 24, 2019 via Android
    1
    换 VS Code 远程开发功能保平安。
    creedowl
    creedowl
    Jun 24, 2019 via Android
    2
    wsl 起个 sshd ? idea 远程开发好像很完善了吧
    flynaj
    flynaj
    Jun 25, 2019 via Android
    3
    其它的不知道,编译 go 绝对不需要 GCC。
    Vegetable
    Vegetable
    Jun 25, 2019
    4
    @flynaj 这么说不对滴
    cubecube
    cubecube
    Jun 25, 2019 via Android
    5
    @Vegetable go build 走天下,为毛要 gcc
    hduwillsky
    hduwillsky
    Jun 25, 2019 via iPhone
    6
    Rehtt
    Rehtt
    OP
    Jun 25, 2019
    7
    @flynaj cgo
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   941 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:21 · PVG 04:21 · LAX 12:21 · JFK 15:21
    ♥ Do have faith in what you're doing.