Commit a17a750317f7ef52fcafbb5d70a8cc806d9e7f82
authorStephan Veigl <veigl@gmx.net>
Fri, 30 Nov 2012 12:31:54 +0000 (13:31 +0100)
committerStephan Veigl <veigl@gmx.net>
Sun, 2 Dec 2012 12:49:00 +0000 (13:49 +0100)
tree4ddd9324ef9d575a06186199921651e2f3db9dcd
parente8f6b397420f9d862e37f667982a7807fb79a18d
Message:
mingw:  make simavr compilable with MinGW

- patch makefiles to work with MinGW
- compile to run_avr.exe on windows, otherwise run_avr cannot be started from the normal windows command prompt
- add sim_network.h to encapsulate the network functions of different platforms
    (use winsock2 for Windows network functions)
- make network helper functions static
- force open() to use binary mode (on Windows default is text mode)
- do not change stderr on Windows
- exclude simduino example on Windows
- add MinGW README

Signed-off-by: Stephan Veigl <veigl@gmx.net>
14 files changed:
Makefile.common
README.mingw [new file with mode: 0644]
examples/Makefile
examples/Makefile.opengl
examples/parts/uart_pty.c
examples/parts/uart_udp.c
examples/parts/uart_udp.h
simavr/.gitignore
simavr/Makefile
simavr/sim/sim_elf.c
simavr/sim/sim_gdb.c
simavr/sim/sim_network.h [new file with mode: 0644]
simavr/sim/sim_vcd_file.c
tests/tests.c