------- Additional Comments From hideishi at graduate dot chiba-u dot jp
2004-12-28 14:37 -------
(In reply to comment #0)
> This is due to the bug in "gcc/config/darwin.h".
>
> 317 /* -dynamiclib implies -shared-libgcc just like -shared would on
linux. */
> 318 #define REAL_LIBGCC_SPEC \
> 319 "%{static|static-libgcc:-lgcc}\
> 320 %{!static:%{!static-libgcc:\
> 321 %{!Zdynamiclib:%{!shared-libgcc:-lgcc}\
> 322 %{shared-libgcc:-lgcc_s -lgcc}} %{Zdynamiclib:-lgcc_s -lgcc}}}"
I'm sorry. I attached my "EDITED" version of "gcc/config/darwin.h".
The original one can be viewed at
http://sources.redhat.com/cgi-bin/cvsweb.cgi/gcc/gcc/config/darwin.h?cvsroot=gcc&only_with_tag=MAIN
317 /* -dynamiclib implies -shared-libgcc just like -shared would on
linux. */
318 #define REAL_LIBGCC_SPEC \
319 "%{static|static-libgcc:-lgcc -lgcc_eh}\
320 %{!static:%{!static-libgcc:\
321 %{!Zdynamiclib:%{!shared-libgcc:-lgcc -lgcc_eh}\
322 %{shared-libgcc:-lgcc_s -lgcc}} %{Zdynamiclib:-lgcc_s -lgcc}}}"
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19176