Rehtt
V2EX  ›  问与答

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

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