zoukankan      html  css  js  c++  java
  • OpenSSL 1.0.2e 3 Dec 2015

    目录:

    1,交叉编译openssl

    2,win32  vc9 编译 openssl 

     setarch - change reported architecture in new program environment and set personality flags

    https://linux.die.net/man/8/setarch

    如果在64位的linux下编译32位版本的openssl
    setarch i386 ./config -m32 --prefix=/usr/local/openssl

    # make
    # make install

    64位的linux机器编译32位的libiconv

    在64为环境下用configure 产生32位的Makefile

     CC="gcc -m32" ./configure   --target="i386-linux"
    而不是
    ./configure  --CC="gcc -m32" --target="i386-linux"

     CC="gcc -m32" ./configure   --target="i386-linux" --prefix=/usr/local

    1,交叉编译openssl

    [原]交叉编译openssl不修改Makefile的方法 

    http://blog.chinaunix.net/uid-20680966-id-3232074.html

    版本:
    OpenSSL 1.0.2e 3 Dec 2015

    make clean

    CC=/opt/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-gcc ./config no-asm shared --prefix=/home/openssl_gzl_arm


    make

    2,win32  vc9 编译 openssl 

    参考:

    http://blog.csdn.net/xiexievv/article/details/45114235

    http://blog.csdn.net/everandforever/article/details/6102781

    http://blog.sina.com.cn/s/blog_7e0127220100zult.html

    http://blog.csdn.net/fion45/article/details/40002387

  • 相关阅读:
    寒假学习记录19
    寒假学习记录18
    寒假学习记录17
    寒假学习记录16
    寒假学习记录15
    寒假学习记录14
    寒假学习记录13
    寒假学习记录12
    寒假学习记录11
    学习进度(10)
  • 原文地址:https://www.cnblogs.com/bleachli/p/5775383.html
Copyright © 2011-2022 走看看