~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to include/makeinclude/platform_mingw32.GNU

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# platform_mingw32.GNU,v 4.9 2003/12/19 11:47:20 jwillemsen Exp
2
 
 
3
 
# This file should allow to build ACE for mingw32 with mingw tools.
4
 
# Edit to change TCPU below.
5
 
#
6
 
# Don't forget to define the ACE_ROOT environment variable!
7
 
 
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.
11
 
#
12
 
# You will also need a GNU Make for win32 (so you can actualy
13
 
# USE this file :-). Tested with MSYS from MinGW
14
 
#
15
 
# Caveat:
16
 
#
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
22
 
#   (i.e., change
23
 
#    ... %{!shared:%{!mdll:crt2%O%s}} ...
24
 
#    with
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).
27
 
 
28
 
# Chose your target CPU (uncomment ONE of these).
29
 
TCPU = pentiumpro
30
 
#TCPU = pentium
31
 
#TCPU = i486
32
 
#TCPU = i386
33
 
 
34
 
mingw32 = 1
35
 
 
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
38
 
versioned_so=0
39
 
 
40
 
# MinGW doesn't have rwho
41
 
rwho = 0
42
 
 
43
 
# MinGW has wfmo
44
 
wfmo = 1
45
 
 
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
50
 
 
51
 
include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU