mikicomo
V2EX  ›  问与答

codeblocks 配置 clang 的问题

  •  1
     
  •   mikicomo · Mar 1, 2016 · 2530 views
    This topic created in 3751 days ago, the information mentioned may be changed or developed.

    clang++.exe -o bin\Debug\5.exe obj\Debug\main.o

    D:\Program Files (x86)\CodeBlocks\MinGW\bin\ld.exe: unrecognised emulation mode: i386pep
    Supported emulations: i386pe
    clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
    希望 V 友看下是哪里出了问题?

    1 replies    2016-03-02 12:01:39 +08:00
    mikicomo
        1
    mikicomo  
    OP
       Mar 2, 2016
    问题已经找出来了...clang 和 codeblocks 都太傻...必须要把目录定位 C:\MinGW
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1122 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:01 · PVG 02:01 · LAX 11:01 · JFK 14:01
    ♥ Do have faith in what you're doing.