This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Eric Botcazou wrote:
|>Yes the workaround is to add -fexceptions or -shared-libgcc to the
|>command line when linking libgnat but I don't know if that is the correct
|>fix or some hacking to config/darwin.h is needed.
|
|
| Thanks. However, that's not sufficient because the tools fail to build too:
I'm adding Geoff Keating to the CC, hoping that he'll both shout at me while
explaining why this change to darwin.h is broken, and suggest a real fix.
This change allows gcc to build on powerpc-apple-darwin8.4 with ada.
Peter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ8/HhbiDAg3OZTLPAQJpowQAnZLRilL7mE1l9LLwETXKWYFarWC+2DSl
J00YAywB5cDF+J1emf3ET7S4ZFgZ1Wvl9fJVutvgnVTWkvnnBm8nI+hFSHY93dUZ
9jK7/dyzWUQol4kG55bmNJDNjxr0wSx27RHafo6ktxQF0CwXQN+nzGJo9AU6mnaf
foTpzV+E64s=
=NJtm
-----END PGP SIGNATURE-----
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 109965)
+++ gcc/config/darwin.h (working copy)
@@ -324,6 +324,7 @@
-lgcc; \
:%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= - lgcc_s.10.4) \
%:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s. 10.5) \
+ %:version-compare(!> 10.3.9 mmacosx-version-min= - lgcc_eh) \
-lgcc}"
/* We specify crt0.o as -lcrt0.o so that ld will search the library path. */
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |