-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've noticed that gcc complains, at install time, that gnatdll and
gnatsym are not found, and thus can't be installed.

After digging a bit, i've found that these tools are not properly
hooked up to makefile recipes, which is why they are not built.

Here's a patch that hooks them up. This worked for me (reminder: i
cross-compile gcc from Debian). With this patch, gnatsym is not built
for W32 (for reasons that should be obvious to Ada developers), but
gnatdll is, and gnatdll.exe is installed as expected.

Curiously, i did not have to add a mv $tool $tool-cross chunk of shell
code for gnatdll, it installed just fine without that. Which makes me
question the purpose of that shell code.

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJS2/mLAAoJEOs4Jb6SI2CwEZAH/AnL+PWmexUMyKDFAhK9NZQC
aqGzW4Wv6R0Q3DXBwxPmicUyJ4FToqf/8b59d6bdK5vByosKFvdAPtVVYMWDR1aK
Vxy3Ph/dyNtrqpoCEr02jFwtdqHmHwbQwwwIaFTs1p2coVDKixclcLqSyaetZNCk
82UKCYLcBgN9IpibfKj+9KjB1ddv8fgrIg8Ydd/SyhpsKwMF8XkEfBSRKh4VeHQw
H1u5YU4Hb+eE0Rh1bCciZlpoRbyY4Lc4VfManWKTwATyhcj8WtD01WLeMOmYvm8t
D14rJEr4J97u8B3WGof797O4488YJN44S2WomiiC0BOrxq7fNngDZnV5wN4VS1I=
=I4FN
-----END PGP SIGNATURE-----
--- gcc-4.8.2/gnattools/Makefile.in.orig        2014-01-19 15:08:50.004196500 
+0400
+++ gcc-4.8.2/gnattools/Makefile.in     2014-01-19 19:02:08.540887784 +0400
@@ -184,7 +184,7 @@
          ../../gnatmake$(exeext) ../../gnatlink$(exeext)
        # gnattools2
        $(MAKE) -C $(GCC_DIR)/ada/tools -f ../Makefile \
-         $(TOOLS_FLAGS_TO_PASS_NATIVE) common-tools
+         $(TOOLS_FLAGS_TO_PASS_NATIVE) common-tools $(EXTRA_GNATTOOLS)
 
 # gnatmake/link can be built with recent gnatmake/link if they are available.
 # This is especially convenient for building cross tools or for rebuilding
@@ -196,7 +196,7 @@
          gnatmake-re gnatlink-re
        # gnattools2
        $(MAKE) -C $(GCC_DIR)/ada/tools -f ../Makefile \
-         $(TOOLS_FLAGS_TO_PASS_NATIVE) common-tools
+         $(TOOLS_FLAGS_TO_PASS_NATIVE) common-tools $(EXTRA_GNATTOOLS)
 
 gnattools-cross: $(GCC_DIR)/stamp-tools
        # gnattools1-re
@@ -205,7 +205,7 @@
          gnatmake-re gnatlink-re
        # gnattools2
        $(MAKE) -C $(GCC_DIR)/ada/tools -f ../Makefile \
-         $(TOOLS_FLAGS_TO_PASS_CROSS) common-tools
+         $(TOOLS_FLAGS_TO_PASS_CROSS) common-tools $(EXTRA_GNATTOOLS)
        # Rename cross tools to where the GCC makefile wants them when
        # installing.  FIXME: installation should be done elsewhere.
        if [ -f $(GCC_DIR)/gnatbind$(exeext) ] ; then \
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to