i386

i386 vs. AMD64 ABI Differences

眉间皱痕 提交于 2019-11-26 21:52:38
问题 Where can I find all the differences in data types between the i386 & AMD64 Application Binary Interface(ABI)s ? I know that the long type is 32-bit in i386 ABI & 64-bit in AMD64. Is this correct? 回答1: I suggest you download Dr Agner Fog's optimization manuals. He has a manual specifically about ABIs and their differences. For differences in the instruction set between 32-bit mode and 64-bit mode, both Intel and AMD's instruction manuals should cover this in the introductory volume or the

Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal

混江龙づ霸主 提交于 2019-11-26 20:31:55
问题 I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does not work well with rest of the architectures. Hence I need a script which can work for all the supported architectures for iOS including armv7, armv7s, armv64 and i386. 回答1: I have use below scripts for making FFmpeg build for arm64 https://github

Ubuntu下Android Studio环境搭建

 ̄綄美尐妖づ 提交于 2019-11-26 18:22:05
1、JDK安装 a.准备 由于AS(Android Studio)不支持openjdk,需要另行下载oracle jdk,同时官网指出对于64位linux系统,为了能在其上运行32位程序,需要安装一些软件,执行以下命令 ubuntu 13.10及以上系统 #sudo dpkg --add-architecture i386 #sudo apt-get update #sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 ubuntu 13.04及以下系统 #apt-get install ia32-libs b.安装jdk #sudo mkdir /usr/lib/jvm/ #sudo tar -zxvf jdk-8u51-linux-x64.tar.gz -C /usr/lib/jvm c.配置环境变量 编辑/etc/profile的话是对系统所有用户做环境配置,不建议这么做,而是直接配置当前用户 #sudo gedit ~/.bashrc 给文件添加如下内容 export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_45 export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}

rpm安装总结

非 Y 不嫁゛ 提交于 2019-11-26 15:05:11
在RedHat Linux和Mandrake等兼容RedHat的发行版中,整个发行版都是利用RPM安装的。所以安装新软件的最好方 法是从网络上下载rpm包。 1)用RPM安装软件包,最简单的命令如下: # rpm -ivh foo-1.0-l.i386.rpm (这里讲的软件包是foo-1.0-l.i386.rpm,以下都是) foo#################### 下面rpm就会输出该软件包的名称,并显示一个状态条。安装很简单。 2)拆除已安装的软件包 要反安装软件包foo,只需输入以下这行命令: # rpm -e foo 注意:软件包名是foo,而不是rpm文件名"foo-1.0-l.i386.rpm"。 3)升级软件包 升级软件类似于安装软件: # rpm -Uvh foo-2.0-l.i386.rpm foo#################### 用户要注意的是:rpm会自动反安装相应软件包的老版本。如果老版本软件的配置文件通新版本的不兼容,rpm会自动将其保存为另外一个文件,用户会看到下面的信息: saving /etc/foo.conf as /etc/foo.conf.rpmsave 这样用户就可以自己手工去更改相应的配置文件。 另外如果用户要安装老版本的软件,用户就会看到下面的出错信息: # rpm -Uvh foo-1.0-l.i386.rpm foo

ubuntu18

依然范特西╮ 提交于 2019-11-26 15:00:41
ls -al /bin/sh # choose [No] to use bash sudo dpkg-reconfigure dash sudo apt update sudo apt -y upgrade sudo apt install openssh-server vim net-tools sudo apt install ssh ssh-import-id lzop vim-gnome vim-addon-manager vim-scripts exuberant-ctags ctags \ git git-core git-svn subversion mercurial wget privoxy yasm gcc g++ unzip gitk git-gui build-essential pkg-config aptitude \ automake autoconf samba smbclient samba-common minicom python-glade2 system-config-samba nfs-kernel-server nfs-common \ ant autoconf automake autopoint cmake gawk libtool m4 patch pkg-config libprotobuf-dev libprotobuf-c0

Build Multiarch OpenSSL on OS X

不羁的心 提交于 2019-11-26 10:36:14
I need to build OpenSSL on OS X for 32 and 64 bit architectures. What are the options I need to give to ./Configure so that I get it built for both architectures into same .a file? jww ./Configure so that I get it built for both architectures into same .a file? You have to be careful with OpenSSL and multiarch libraries because the library is not multiarch safe. That's because each configuration has its own <openssl/opensslconf.h> file, and each platform's BIGNUM is different. Supplying -arch x86_64 -arch i386 will result in a build failure because of the way OpenSSL's build system forms

Build Multiarch OpenSSL on OS X

♀尐吖头ヾ 提交于 2019-11-26 03:28:41
问题 I need to build OpenSSL on OS X for 32 and 64 bit architectures. What are the options I need to give to ./Configure so that I get it built for both architectures into same .a file? 回答1: ./Configure so that I get it built for both architectures into same .a file? You have to be careful with OpenSSL and multiarch libraries because the library is not multiarch safe. That's because each configuration has its own <openssl/opensslconf.h> file, and each platform's BIGNUM is different. Supplying

linux

时光毁灭记忆、已成空白 提交于 2019-11-26 01:01:35
Linux简介 1991年的10月5日,林纳斯·托瓦兹在comp.os.minix新闻组上发布消息,正式向外宣布Linux内核的诞生(Freeminix-like kernel sources for 386-AT) Linux是一套免费使用和自由传播的类Unix操作系统 并且开源 被广泛应用于服务器端 PHP+Apache+MySQL+Linux(WAMP+LAMP) 称霸互联网 安装虚拟机 虚拟机怎么破解 VMware Workstation 12 Pro 安装的步骤 http://jingyan.baidu.com/article/a681b0de167c083b184346c2.html 安装linux的步骤 1 安装vmware虚拟机(300-600M) 2 下载操作系统 centos (iso文件包) 3 打开虚拟机 登陆 linux默认的用户名和mysql一致 root 如果光标进入了虚拟 alt+ctrl 同时按 切出鼠标 安装的完整步骤 1》打开vmvare 2》文件-新建虚拟机 3》选择自定义 4》安装 客户机操作系统 安装 程序光盘映像文件iso 选中linux的iso 5》处理器数量选择1 6》内存选择512M 7》硬盘空间20G 工具集 putty 可以使用putty登陆linux进行常用操作 可以使用当前机器 输入linux的ip 来进行远程操作 ftp