【warning】clang the linker unused
来源:互联网 发布:申请手机小号软件 编辑:程序博客网 时间:2024/06/16 06:25
这个问题是 我在写第一个 mac os 下的helloworld遇到的
就像是 大家写第一个java中的 helloworld 肯定也是要在命令窗口下进行操作
一样
为了让一些和我一样的刚入门的孩子学会 写下 历程
command + space
terminal
之后就会进入终端
在里面就开始写第一个helloworld
主要是编译器的原因造成这个问题
xcode3 是gcc
xcode4 是lvm
所以系统越高的话 估计 就是用lvm 前端是使用clang
写这个helloworld 还是不轻松的 ,就算是 waringing也不会生成.out文件
我们需要这样做
cc -c xxx.m
ls
你会看到生成.o文件
接下来就这样做
cc xxx.o 问题就解决了
全部是经验之谈 就不截图了 有点麻烦·实践出真知 遇到问题 慢慢理解反思
0 0
- 【warning】clang the linker unused
- xcode/clang: clang: warning: argument unused during compilation: '-fcheck-new'
- mbed使用EmBitz 提示warning: .objs\main.o: linker input file unused because linking not done
- Linker Tools Warning LNK4098
- Linker Tools Warning LNK4098
- Warning MSB8012: TargetPath and 'Linker's OutputFile' not evaluated the same way.
- Linker Tools Warning LNK4098 解决办法
- Visual Studio Linker Warning LNK4099
- linker input file unused because linking not done
- 问题linker input file unused because linking not done
- ld - The GNU linker
- [Objective-C] NSArray initWithObjects "Expression result unused" warning
- Apple Mach-O Linker Warning 警告解决办法
- c++ linker warning: defined in discarded section
- Apple Mach-O Linker Error clang: error: linker command failed with exit code 1
- the first try for clang
- Building the kernel with clang
- g++: -l[some]: linker input file unused because linking not done
- Windows下mysql忘记root密码的解决方法
- leetcode Binary Tree Level Order Traversal II
- 面向对象的基本知识
- 802.11帧格式
- 第一篇csdn博客
- 【warning】clang the linker unused
- iOS 图片边框及阴影效果
- spring
- mysql serverid的理解和可能导致的复制问题
- 关于选中ztree节点
- 皕杰报表单元格数据换行问题
- c++ assert() 使用方法
- Android:自定义输入法(输入密码时防止第三方窃取)
- 常用javascript方法整理