Changeset 4f3fe48 in buchla-emu for readme.txt
- Timestamp:
- 07/23/2017 04:41:10 PM (7 years ago)
- Branches:
- master
- Children:
- 8e1b163
- Parents:
- 2a75e87
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readme.txt
r2a75e87 r4f3fe48 32 32 https://www.freetype.org/ 33 33 34 Currently, the emulator supports Linux and OS X. A port to Windows35 should be pretty easy, given that it doesn't use any platform-specific 36 features, just C99 and SDL2.34 Currently, we build the emulator code natively on Linux and OS X. The 35 Windows version is cross-compiled on Linux using a x86_64-w64-mingw32 36 toolchain. 37 37 38 Our Makefile expects all of the above libraries to reside in 39 /opt/sdl2. This is how we typically install them:38 For Linux and OS X, our Makefile expects all of the above libraries to 39 reside in /opt/sdl2. This is how we typically install them: 40 40 41 41 # Build and install FreeType first … … 85 85 86 86 from the top-level directory of this repository to build the emulator. 87 88 The cross-build for Windows is done similarly, with the following 89 differences when configuring the libraries: 90 91 * We use "--prefix=/opt/sdl2-win" instead of "--prefix=/opt/sdl2", 92 so that the Windows versions of the libraries go to a different 93 directory. 94 95 * We additionally specify "--host=x86_64-w64-mingw32" to enable 96 cross-compilation. 97 98 Then, to cross-build the emulator, invoke 99 100 make buchla WIN=1 101 102 from the top-level directory of this repository. 87 103 88 104
Note:
See TracChangeset
for help on using the changeset viewer.