linux compile objective-c
来源:互联网 发布:软件开发找对象 编辑:程序博客网 时间:2024/06/15 03:19
#import <Foundation/Foundation.h>int main (int argc, const char * argv[]){ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSLog (@"hello world"); [pool drain]; return 0;}
gcc `gnustep-config --objc-flags` -L/usr/GNUstep/System/Library/Libraries -lgnustep-base -lobjc *.m -o main
gnustep-config --objc-flags -MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -g -O2 -fgnu-runtime -fconstant-string-class=NSConstantString -fexec-charset=UTF-8 -I. -I/home/cg/root/GNUstep/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/Local/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/GNUstep/System/Library/Headers -I/usr/include/libxml2 -I/usr/include/p11-kit-1
0 0
- linux compile objective-c
- how to compile Objective-C on ubuntu
- compile c file in linux
- linux c compile Q&A
- linux 下编写Objective-C
- Objective-c in Ubuntu Linux
- OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)
- iOS SDK开发时,有关OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)
- iOS SDK开发时,有关OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)
- iOS SDK开发时,有关OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)
- iOS SDK开发时,有关OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)
- Linux中用Makefile编译Objective-c
- linux-ubuntu14.04 Objective-C环境搭建
- Linux 搭建 Objective-C开发环境
- Linux下配置Objective-C编译环境
- Compile linux kernel source
- compile linux 2.6 module
- Compile Linux Kernel Modules
- cmake 学习笔记(二)
- 【OkHttp3源代码分析】(一)Request的execute
- Cf 120 F 【vector+dfs】
- 【JAVA】腾讯研发类在线笔试题之蛇形矩阵实现
- html基础开发-- Jquery框架方法使用(攻略二)
- linux compile objective-c
- 多行文本输入学生信息并学号排序输出
- 从简单的选择排序入手,深刻理解程序
- DuiLib(5)——CWindowWnd窗口函数简介
- 三种简单排序
- 复制多行代码到shell
- 目标检测随笔1——目标检测简要综述
- TCP的理解实例
- 【day0403】C++ 数组形参的传递