http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59692
Bug ID: 59692 Summary: Missing __gnat_malloc on mingw targets Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada Assignee: unassigned at gcc dot gnu.org Reporter: steve at sk2 dot org Created attachment 31579 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31579&action=edit Implement __gnat_malloc in s-memory-mingw.adb. The __gnat_malloc definition which was added recently to s-memory.adb is missing from s-memory-mingw.adb, which causes link failures when targeting Windows. Simply applying the same changes to s-memory-mingw.adb fixes this.