Skip to content
This repository has been archived by the owner on Jun 20, 2019. It is now read-only.

Commit

Permalink
Add mingw README
Browse files Browse the repository at this point in the history
  • Loading branch information
venix1 authored and jpf91 committed Apr 28, 2014
1 parent 4b77eb2 commit 1a0a4fb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README-MINGW.md
@@ -0,0 +1,19 @@
GDC should build for MINGW and MINGW64 targets, however not much
testing has been done.

## Building ##

The following patches are required for binutils / gcc to fix TLS support:
* https://github.com/venix1/MinGW-GDC/blob/master/patches/mingw-tls-binutils-2.23.1.patch
* https://github.com/venix1/MinGW-GDC/blob/master/patches/mingw-tls-gcc-4.8.patch

This patch is required to fix a bug in GCC buildscripts:
* https://github.com/venix1/MinGW-GDC/blob/master/patches/gcc/0001-Remove-fPIC-for-MinGW.patch

## SEH ##
GCC supports SEH for Windows 64 bit targets, but GDC has not been tested with SEH
enabled. It also does not compile right now because no SEH personality routine has
been written yet (__gdc_personality_seh0).

Configure gcc with --enable-sjlj-exceptions to use SJLJ execptions for win64 targets.
DWARF exceptions are untested.

0 comments on commit 1a0a4fb

Please sign in to comment.