Comments (4)
这个问题我后两天看下 电脑最近坏了 暂时没法敲代码了 。。 ld这些不会随着变动的
from xmake.
我看了下,第一次指定cc为clang后,xmake -v 编译已经是clang了,没问题。。那个checking for the assember (as) ... gcc
的显示,也是对的,因为不会影响到 as ld 这些
xmake f --cc=clang
指定后,checking for cc
的显示久没有了,因为手动指定后,就不去check了,只要看到 configure的结果 cc已经生效,那之后的编译肯定用的是clang。。
是ok的,谢谢。
from xmake.
还有 在 linux 和 macosx下,如果是非交叉编译的情况下,我已经加上对 $CC $CXX $AR $LD 这个环境变量的检测支持,优先会使用这里面的值,除非手动配置修改:xmake f --cc=clang
from xmake.
测试OK了
from xmake.
Related Issues (20)
- 添加 target:gb2312 以满足中文兼容性 HOT 5
- 增加能够在 rule 中传递的用户级自定义变量的功能 HOT 5
- 创建 cmakelist 异常 HOT 5
- Support range based glob pattern HOT 5
- add_requireconfs 固定依赖版本后丢失依赖信息 HOT 21
- flex应该能正常单独使用 HOT 3
- package budil with android ndk use cmake_generator=Ninja failed on windows HOT 2
- in package config setting "-DANDROID_PLATFORM=XXX" is override by xmake ndk toolchain HOT 1
- 大型项目用 xmake 构建的最佳实践? HOT 10
- ubuntu下调用xmake f --menu报错error: field 'isdone' is not callable (a nil value) HOT 7
- Allow target:fileconfig() for headerfiles HOT 8
- new version xmake can not build static lib only containing modules HOT 7
- package:add_linkdirs() 未导出 HOT 11
- xmake中如何添加配置g++ -Wl,-rpath=. HOT 2
- Dependencies are built after precompiled headers HOT 3
- Endianness/Byte-order detection on build machine HOT 2
- Metal project generated by xmake can not launch because of failed to load default library HOT 1
- xmake test 并发测试用例时输出进度乱序, 希望排序后输出 HOT 4
- Windows平台上,为编译工具链程序添加`.exe`后缀的行为与`zig cc`,`zig c++`工具链存在冲突 HOT 10
- Keep packages required with a branch up to date HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xmake.