------- Comment #56 from howarth at nitro dot med dot uc dot edu 2009-10-01
13:59 -------
Okay. So no problem. What do you think is the best way to default on
libgcc-ext? Just using...
Index: gcc/config/darwin.h
===================================================================
--- gcc/config/darwin.h (revision 152370)
+++ gcc/config/darwin.h (working copy)
@@ -388,14 +388,14 @@
If it is linked against, it has to be before -lgcc, because it may
need symbols from -lgcc. */
#undef REAL_LIBGCC_SPEC
-#define REAL_LIBGCC_SPEC \
- "%{static-libgcc|static: -lgcc_eh -lgcc; \
- shared-libgcc|fexceptions|fgnu-runtime: \
- %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4) \
- %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5) \
- -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) \
+#define REAL_LIBGCC_SPEC
\
+ "%{static-libgcc|static: -lgcc_eh -lgcc;
\
+ shared-libgcc|fexceptions|fgnu-runtime:
\
+ %:version-compare(!> 10.5 mmacosx-version-min= -lgcc_s.10.4
-lgcc_ext.10.4) \
+ %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5
-lgcc_ext.10.5) \
+ -lgcc;
\
+ :%:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4
-lgcc_ext.10.4) \
+ %:version-compare(>= 10.5 mmacosx-version-min= -lgcc_s.10.5
-lgcc_ext.10.5) \
-lgcc}"
/* We specify crt0.o as -lcrt0.o so that ld will search the library path.
...perhaps?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39888