Giter VIP home page Giter VIP logo

Comments (3)

CofeCofe avatar CofeCofe commented on July 20, 2024

通过更改/path/to_install/xmake/toolchains/armclang/xmake.lua暂时解决了这个问题

            toolchain:add("cxflags", "--target=" .. arch_target)  -- 这行多加了个'-'
            toolchain:add("cxflags", "-mcpu="   .. arch_cpu)
            toolchain:add("asflags", "--target=" .. arch_target)  -- 这行多加了个'-'
            toolchain:add("asflags", "-mcpu="   .. arch_cpu)  --这个之前的问题里有改过
            toolchain:add("ldflags", "--cpu "   .. arch_cpu_ld)

from xmake.

CofeCofe avatar CofeCofe commented on July 20, 2024

@waruqi 看了下官方文档,只有”--target“选项,但是实际编译中也支持”-target“这种形式,但是生成的compile_commands.json就有问题

from xmake.

Issues-translate-bot avatar Issues-translate-bot commented on July 20, 2024

Bot detected the issue body's language is not English, translate it automatically.


@waruqi After reading the official documentation, there is only the "--target" option, but the actual compilation also supports the "-target" form, but there is a problem with the generated compile_commands.json

from xmake.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.