Changeset 305f45fb for core/c


Ignore:
Timestamp:
Jan 26, 2016 12:06:05 AM (5 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
c9818e6
Parents:
3e4d774
Message:

Added jcpuid build instructions for linux/osx/freebsd/windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/README

    r3e4d774 r305f45fb  
     1======
     2JCPUID
     3======
     4
     5Linux -> Windows cross-compilation
     6----------------------------------
     7Install ming-w64 (on debian or whichever package that provides i686-w64-mingw32 and x86_64_w64_mingw32).
     8
     9To build the 32-bit binaries run something like this:
     10    CC=i686-w64-mingw32-gcc TARGET=windows BITS=32 ./build.sh
     11
     12To build the 64-bit binaries run something like this:
     13    CC=x86_64-w64-mingw32-gcc TARGET=windows BITS=64 ./build.sh
     14
     15FreeBSD
     16-------
     17Compiled natively, x86 on a 32-bit install and x86_64 on a 64-bit install
     18
     19To build the 32-bit binaries run something like this:
     20    BITS=32 ./build.sh
     21
     22To build the 64-bit binaries run something like this:
     23    BITS=64 ./build.sh
     24
     25
     26Linux
     27-----
     28Compiled natively x86 and x86_64 on a 64-bit install
     29
     30To build the 32-bit binaries run something like this:
     31    BITS=32 ./build.sh
     32
     33To build the 64-bit binaries run something like this:
     34    BITS=64 ./build.sh
     35
     36
     37OSX
     38---
     39Compiled natively on OSX machine
     40
     41To build the 32-bit binaries run something like this:
     42    BITS=32 ./build.sh
     43
     44To build the 64-bit binaries run something like this:
     45    BITS=64 ./build.sh
     46
     47
     48=====
     49JBIGI
     50=====
     51
    152
    253Dynamic library build
Note: See TracChangeset for help on using the changeset viewer.