1
# platform_mingw32.GNU,v 4.9 2003/12/19 11:47:20 jwillemsen Exp
3
# This file should allow to build ACE for mingw32 with mingw tools.
4
# Edit to change TCPU below.
6
# Don't forget to define the ACE_ROOT environment variable!
8
# mingw32 packages as distributed from sourceforge:
9
# http://sourceforge.net/project/showfiles.php?group_id=2435&release_id=15084
10
# See also http://www.mingw.org.
12
# You will also need a GNU Make for win32 (so you can actualy
13
# USE this file :-). Tested with MSYS from MinGW
17
# If ld complains about not finding crt2.o, dllcrt2.o or gcrt2.o
18
# when linking executables, you will need to modify the specs file for gcc:
19
# lib/gcc-lib/mingw32/2.95.2/specs
20
# look for the line after the one begining ``*startfile:'', and add
21
# full path as prefix for crt2, dllcrt2 and gcrt2
23
# ... %{!shared:%{!mdll:crt2%O%s}} ...
25
# ... %{!shared:%{!mdll:c:/mingw32/lib/gcc-lib/mingw32/2.95.2/crt2%O%s}} ...
26
# or something similar depending on the location of your instalation).
28
# Chose your target CPU (uncomment ONE of these).
36
# MingW doesn't allow to add the version number of ACE to the dll name
37
# because fe ace.dll.5.2.3 isn't a valid dll name
40
# MinGW doesn't have rwho
46
# Disable auto-import warnings. The MingW linker has a problem with imports
47
# See https://sourceforge.net/tracker/?func=detail&atid=102435&aid=683455&group_id=2435
48
# for the details why to do this.
49
LDFLAGS += -Wl,--enable-auto-import
51
include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU