Changeset eb696c8


Ignore:
Timestamp:
Feb 3, 2016 6:31:18 PM (5 years ago)
Author:
dev <dev@…>
Branches:
master
Children:
f4abb28
Parents:
c9818e6
Message:

Added correct build instructions for jcpuid on windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/README

    rc9818e6 reb696c8  
    33======
    44
    5 Linux -> Windows cross-compilation
    6 ----------------------------------
    7 Install ming-w64 (on debian or whichever package that provides i686-w64-mingw32 and x86_64_w64_mingw32).
     5Windows
     6-------
     7Install MS Visual Studio (comminity edition 2015 was last used).
     8Import a project from the msvc files. And build a binary.
    89
    9 To build the 32-bit binaries run something like this:
    10     CC=i686-w64-mingw32-gcc TARGET=windows BITS=32 ./build.sh
    11 
    12 To build the 64-bit binaries run something like this:
    13     CC=x86_64-w64-mingw32-gcc TARGET=windows BITS=64 ./build.sh
     10Cross-compilation using mingw has been attempted with version 4.6.3 and 5.2.1 of mingw,
     11but the resulting binaries have not been able to execute on 32-bit windows machines.
     1264-bit machines work fine though.
    1413
    1514FreeBSD
Note: See TracChangeset for help on using the changeset viewer.