交叉编译Mono

本文详细介绍了如何使用Scratchbox在Linux环境下为ARM架构交叉编译Mono,包括安装Scratchbox,配置目标环境,编译托管和本地代码,以及运行和移植控制台程序。特别地,提到了在嵌入式Linux上考虑移植Qt-X11作为GUI选项。
摘要由CSDN通过智能技术生成
1. 安装scratchbox

    (1) 添加软件源:
    
        sudo vim /etc/apt/sources.list
        
        最后一行添加
        
        deb http://scratchbox.org/debian/ stable main
    
    (2) 更新软件源
    
        sudo apt-get update
    
    (3) 安装软件包
    
        sudo apt-get install scratchbox-core scratchbox-libs scratchbox-devkit-qemu
    
        sudo apt-get install scratchbox-devkit-debian scratchbox-devkit-perl scratchbox-toolchain-arm-linux-cs2007q3-51sb3
    
        也可在http://www.scratchbox.org/download/files/sbox-releases/stable/tarball/下载其它交叉编译工具包,并
    
        cd /
        tar -zxvf [交叉编译工具包路径] ./
    
    (4) 禁止VDSO
    
        sudo vim /etc/sysctl.conf
    
    最后一行添加
    
        vm.vdso_enabled = 0
        vm.mmap_m
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值