This is the mail archive of the gcc-patches@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]

[PATCH] Darwin : -static and -lgcc_static


This small patch updates driver to use -lgcc_static (instead of "- lgcc -lgcc_eh") when -static is used on command line.

* config/darwin.h (REAL_LIBGCC_GCC): Use -lgcc_static.

Bootstrapped and tested on powerpc-darwin.

OK for mainline ?
Thanks,
-
Devang

Attachment: libgcc_static.diff
Description: Binary data



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]