Changeset 73228a1 for core/c/README


Ignore:
Timestamp:
Sep 29, 2015 3:31:42 PM (6 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
2bc8766
Parents:
0848e34
Message:

Revamped downloading of gmp files.
Revamped cross-compilation support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/README

    r0848e34 r73228a1  
    2828
    2929
     30Build for more than one target at a time
     31========================================
     32
     33./mbuild.sh is used to build a whole set of binaries at a time.
     34Each run will build a set of binaries for a specific platform.
     35
     36Windows cross-compilation
     37-------------------------
     38Install ming-w64 (on debian or whichever package that provides i686-w64-mingw32 and x86_64_w64_mingw32).
     39
     40To build the 32-bit binaries run something like this:
     41    CC=i686-w64-mingw32-gcc TARGET=windows BITS=32 ./mbuild-all.sh
     42
     43To build the 64-bit binaries run something like this:
     44    CC=x86_64-w64-mingw32-gcc TARGET=windows BITS=64 ./mbuild-all.sh
     45
     46
    3047Installation and testing
    3148========================
Note: See TracChangeset for help on using the changeset viewer.