rebeccaMyKid
V2EX  ›  问与答

Linux vim 下怎么直接编译运行 C 文件?

  •  
  •   rebeccaMyKid · Aug 9, 2017 · 2622 views
    This topic created in 3398 days ago, the information mentioned may be changed or developed.

    :make 报错

    make: *** No targets specified and no makefile found.  Stop.
    
    Press ENTER or type command to continue
    
    3 replies  •  2017-08-09 17:20:50 +08:00
    am241
    am241
    Aug 9, 2017 via Android
    1
    !tcc -run hello.c
    rebeccaMyKid
    rebeccaMyKid
    OP
    Aug 9, 2017
    2
    @am241 tcc : command not found
    am241
    am241
    Aug 9, 2017 via Android
    3
    @rebeccaMyKid tcc 支持 run 参数 gcc 需要编译完执行二进制文件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   936 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:16 · PVG 06:16 · LAX 14:16 · JFK 17:16
    ♥ Do have faith in what you're doing.