辣眼睛的Developer 2014-09-10 12:09
浏览 1422

Realvnc3.3.7开源代码嵌入式移植

在realvnc下载了源码版本3.3.7进行交叉编译,解压源码后查看README分两步进行编译,其编译方式说明为:
To build this distribution you need a C++ compiler as well as a C compiler.
You also need a reasonably recent version of the X window system installed.
This come as standard with most unix machines. If you don't have it installed,
see http://www.x.org or http://www.xfree86.org

To build everything but Xvnc, do:

% ./configure
% make

This should build first some libraries - zlib, rdr and rfb - then vncconnect,
vncpasswd and vncviewer. If you already have zlib installed on your system you
can run "./configure --with-installed-zlib" if you prefer (this is strongly
advised on FreeBSD, since we've been told there are problems otherwise).

Xvnc differs from the other programs in that it is built inside a cut-down
version of the X build tree. This is based around the XFree86 3.3.2 "server
only" distribution, which in turn is based on the X11R6.3 distribution from
the X consortium. To build Xvnc, do:

% cd Xvnc
% make World

我要实现交叉编译源码在第一步方式中可以设置configure参数实现交叉编译,编译通过;第二步进去Xvnc目录下只有Makefile相关文件,而没有configure文件无法配置交叉编译,于是考虑修改Makefile文件来交叉编译,可是在它的每个子目录下都有一个Makefile不能修改每一个!请高手帮忙:在没有configure文件而且主目录和子目录都有Makefile下怎么实现交叉编译,如果直接make World将直接gcc编译了而非cross-compile!不知道怎么实现,还请多多帮忙解决,谢谢!

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
    • ¥15 请问Lammps做复合材料拉伸模拟,应力应变曲线问题
    • ¥30 python代码,帮调试
    • ¥15 #MATLAB仿真#车辆换道路径规划
    • ¥15 java 操作 elasticsearch 8.1 实现 索引的重建
    • ¥15 数据可视化Python
    • ¥15 要给毕业设计添加扫码登录的功能!!有偿
    • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
    • ¥15 微信公众号自制会员卡没有收款渠道啊
    • ¥100 Jenkins自动化部署—悬赏100元