Changeset bf76c57 for core/c


Ignore:
Timestamp:
Sep 30, 2015 3:07:09 PM (5 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
489ff65e
Parents:
2bc8766
Message:

Added FreeBSD cross-compilation instructions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/README

    r2bc8766 rbf76c57  
    3131========================================
    3232
    33 ./mbuild.sh is used to build a whole set of binaries at a time.
     33jbigi/mbuild-all.sh is used to build a whole set of binaries at a time.
    3434Each run will build a set of binaries for a specific platform.
    3535
    36 Windows cross-compilation
    37 -------------------------
     36Linux -> Windows cross-compilation
     37----------------------------------
    3838Install ming-w64 (on debian or whichever package that provides i686-w64-mingw32 and x86_64_w64_mingw32).
    3939
     
    4343To build the 64-bit binaries run something like this:
    4444    CC=x86_64-w64-mingw32-gcc TARGET=windows BITS=64 ./mbuild-all.sh
     45
     46Linux -> FreeBSD cross-compilation
     47----------------------------------
     48Install gcc-multilib (on debian or whichever package that provides the C runtime)
     49I used clang3.6 as CC, but gcc or most other things should work too.
     50
     51To build the 32-bit binaries run something like this:
     52    TARGET=freebsd BITS=32 ./mbuild-all.sh
     53
     54To build the 64-bit binaries run something like this:
     55    TARGET=freebsd BITS=64 ./mbuild-all.sh
    4556
    4657
Note: See TracChangeset for help on using the changeset viewer.