[HELP] GCC 4.1 branch Ada status on powerpc-darwin?
Geoff Keating
geoffk@apple.com
Thu Jan 19 19:17:00 GMT 2006
On 19/01/2006, at 9:08 AM, Peter O'Gorman wrote:
> -----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.
If ADA is going to use exceptions, then it needs to do what G++ does,
which is pass -shared-libgcc in its driver.
> This change allows gcc to build on powerpc-apple-darwin8.4 with ada.
It's not OK because for forwards binary compatibility the shared
libgcc must be used for exception handling.
> 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. */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2408 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20060119/0c6c9559/attachment.p7s>
More information about the Gcc
mailing list