随笔分类 -  linux 交叉编译

摘要:sshd_config 文件中 允许 root 用户登录 PermitRootLogin yes 配置为内部的 sftp Subsystem sftp internal-sftp key 配置 ssh-keygen -t rsa -f ssh_host_rsa_key -N ""ssh-keygen 阅读全文
posted @ 2016-11-04 15:08 ouuy 阅读(995) 评论(0) 推荐(0)
摘要:qtbase/mkspecs/linux-arm-gnueabi-g++/qmake.conf 添加 QMAKE_LFLAGS += -Wl,-rpath-link,$$[QT_SYSROOT]/usr/lib QMAKE_CFLAGS += -march=armv7-a -mfpu=neon QM 阅读全文
posted @ 2016-07-29 11:01 ouuy 阅读(1154) 评论(0) 推荐(0)
摘要:配置 ./configure \-prefix /usr \-no-rpath \-embedded arm \-xplatform /qws/linux-arm-gnueabi-g++ \-depths 16,24,32 \-no-mmx \-no-3dnow \-no-sse \-no-sse2 阅读全文
posted @ 2016-07-07 17:13 ouuy 阅读(548) 评论(0) 推荐(0)
摘要:export DESTDIR=/INSTALL/DIR make install 阅读全文
posted @ 2016-07-06 18:43 ouuy 阅读(4656) 评论(0) 推荐(0)
摘要:git://git.yoctoproject.org/psplashTry these steps:1. Set the cross compile environment properly, based on the toolchain you are using. This means setting variables CC, LD, AS, OBJCOPY, etc.2. Run this command:# autogen.sh3. Assuming that you'd like to: keep psplash in "/usr/bin" of tar 阅读全文
posted @ 2012-08-08 21:59 ouuy 阅读(1063) 评论(0) 推荐(0)
摘要:#define REG 0x8000000pr_info("REG is %X\n", __raw_readl(ioremap(REG, 4)));ioremap : 转换一个物理地址至虚拟地址, 4 表示一个32位的寄存器 阅读全文
posted @ 2012-03-05 18:10 ouuy 阅读(1646) 评论(0) 推荐(0)
摘要:下载MPlayerhttp://www.mplayerhq.hu/design7/dload.html编译环境系统 : ubuntu 11.04交叉编译器版本 : Sourcery G++ Lite 2009q1-203MPlayer版本 :MPlayer-1.0rc4ARM型号 : Cortex-A8编译指令./configure --prefix=/opt/mplayer --host-cc=gcc --cc=arm-none-linux-gnueabi-gcc --target=arm-linux --enable-static --disable-mencoder --disabl.. 阅读全文
posted @ 2011-12-15 21:47 ouuy 阅读(2340) 评论(0) 推荐(0)
摘要:下载地址ftp://ftp.gtk.org/pub/glib/版本与环境glib-2.25.8.tar.gz / ubuntu 11.04编译过程# $WORK_DIR 为安装路径CC=arm-none-linux-gnueabi-gcc \./configure --build=i686-linux --host=arm-none-linux-gnueabi --prefix=$WORK_DIR/usr \glib_cv_stack_grows=no \glib_cv_uscore=no \ac_cv_func_posix_getpwuid_r=yes \ac_cv_func_posix_g 阅读全文
posted @ 2011-11-18 17:12 ouuy 阅读(3376) 评论(0) 推荐(0)
摘要:下载地址http://www.zlib.net# 设置交叉编译工具export CC=arm-none-linux-gnueabi-gcc# 配置,编译,安装./configure --shared --prefix=$WORK_DIR/zlibmakemake install 阅读全文
posted @ 2011-11-18 17:05 ouuy 阅读(2240) 评论(0) 推荐(0)