V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
mikicomo
V2EX  ›  问与答

codeblocks 配置 clang 的问题

  •  1
     
  •   mikicomo · Mar 1, 2016 · 2459 views
    This topic created in 3709 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   ·   991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 20:12 · PVG 04:12 · LAX 13:12 · JFK 16:12
    ♥ Do have faith in what you're doing.