随笔分类 - makefile
摘要:经过一个星期的折腾(主要是makefile)哈哈,今天成功将wzplayer移植到mips上,并且支持dlna.因为这是给一个机器做的,没有界面.就不上图了.若大家需要其他平台版本,都欢迎联系.wzplayer各版本汇总:Android:http://blog.csdn.net/weinyzhou/article/details/8275390Windows:http://blog.csdn.net/weinyzhou/article/details/8162954tlplayer汇总:ios:http://blog.csdn.net/weinyzhou/article/details/861
阅读全文
摘要:这些天因为要把wzplayer 移植到mips 下的Linux平台上.一度手写makefile去编译.最悲剧的是旧版本的gcc居然不支持utf8 bom的文件,不得不把用到的文件都去掉bom.现在工程已经到了最后阶段,连接测试.
阅读全文
摘要:由于大部分的开源工程都需要用到pkg-config,因此今天在这讲解一下pkg-config for mac 安装过程.1.检测环境是否已安装pkg-config再命令行中输入: pkg-config 若未安装,则提示命令未找到.2.安装pkg-configcurl http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz -o pkg-config-0.28.tar.gztar -xf pkg-config-0.28.tar.gz
cd pkg-config-0.28./configure --with-interna.
阅读全文
摘要:Using Visual StudioThe following details setting up for and building Clang on Windows using Visual Studio:Get the required tools:Subversion. Source code control program. Get it from:http://subversion.tigris.org/getting.htmlcmake. This is used for generating Visual Studio solution and project files.
阅读全文
摘要:Clang Installation:If you want to build clang yourself, seehttp://clang.llvm.org/get_started.html. Otherwise see below for already built binaries of clang for easier installation.Debian/Ubuntusudo apt-get install clang
Gentooemerge clang
Arch Linuxpacman -S clang
MacOSXsudo port install clang
Window
阅读全文
摘要:#
# c.cpp混合编译的makefile模板
#
# BIN = foyerserver.exe
CC = gcc
CPP = g++
#这里只加入库头文件路径及库路径
INCS = LIBS = SUBDIRS =
#生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件)
DEFINC = -I"./../../base/" -I"./../common" -I"./../../lib/lxnet/" -I"./../../lib/tinyxml/src/"
#给INCS加上依赖搜索路径,
阅读全文
摘要:#
# c.cpp混合编译的makefile模板
#
# BIN = foyerserver.exe
CC = gcc
CPP = g++
#这里只加入库头文件路径及库路径
INCS = LIBS = SUBDIRS =
#生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件)
DEFINC = -I"./../../base/" -I"./../common" -I"./../../lib/lxnet/" -I"./../../lib/tinyxml/src/"
#给INCS加上依赖搜索路径,
阅读全文
摘要:#
# c.cpp混合编译的makefile模板
#
#
BIN = liblxnet.a
CC = gcc
CPP = g++
#这里只加入库头文件路径及库路径
INCS = LIBS = SUBDIRS =
#生成依赖信息时的搜索目录,比如到下列目录中搜索一个依赖文件(比如.h文件)
DEFINC = -I"./../../base/" -I"./src/buf/" -I"./src/event/" -I"./src/sock/" -I"./src/threadpool/"
#
#
#mai
阅读全文