mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
Windows/Cygwin fixes and documentation
This commit is contained in:
parent
ce224eb58d
commit
1c1604fbcc
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Ensure Windows Git clients maintain Unix line endings on checkout
|
||||||
|
* text eol=lf
|
20
README.md
20
README.md
@ -66,6 +66,26 @@ found at:
|
|||||||
|
|
||||||
You will need a Mac or a Mac emulator (with DiscCopy) to read that file.
|
You will need a Mac or a Mac emulator (with DiscCopy) to read that file.
|
||||||
|
|
||||||
|
### Windows Compilation using Cygwin
|
||||||
|
|
||||||
|
You can compile Retro68 on Windows using via a Cygwin terminal. When installing
|
||||||
|
Cygwin, select the following packages in the Cygwin Setup program (as per the dependencies
|
||||||
|
listed above):
|
||||||
|
|
||||||
|
- bison
|
||||||
|
- cmake
|
||||||
|
- gcc-core
|
||||||
|
- gcc-g++
|
||||||
|
- libboost-devel
|
||||||
|
- libgmp-devel
|
||||||
|
- libmpc-devel
|
||||||
|
- libmpfr-devel
|
||||||
|
- make
|
||||||
|
- zlib-devel
|
||||||
|
|
||||||
|
Additional dependencies will be automatically installed.
|
||||||
|
|
||||||
|
Note that compilation via Cygwin is around 3X slower than other platforms.
|
||||||
|
|
||||||
### Compiling Retro68
|
### Compiling Retro68
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ extern int fgetc_unlocked (FILE *);
|
|||||||
extern char *fgets_unlocked (char *, int, FILE *);
|
extern char *fgets_unlocked (char *, int, FILE *);
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# ifdef HAVE_FPUTS_UNLOCKED
|
# if defined (HAVE_FPUTS_UNLOCKED) && !defined (__CYGWIN__)
|
||||||
# undef fputs
|
# undef fputs
|
||||||
# define fputs(String, Stream) fputs_unlocked (String, Stream)
|
# define fputs(String, Stream) fputs_unlocked (String, Stream)
|
||||||
# if defined (HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED
|
# if defined (HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED
|
||||||
|
Loading…
Reference in New Issue
Block a user