Project

General

Profile

Feature #2786 ยป gcc-05-LINK_LIBGCC_SPEC.diff

example for setting LINK_LIBGCC_SPEC - Th. Wagner, 2012-05-25 09:25 PM

View differences:

gcc-4.6.1/gcc/config/i386/sol2-10.h 2011-09-04 14:23:37.527910080 +0200
131 131
#define LINK_ARCH_SPEC TARGET_LD_EMULATION \
132 132
		       "%{m64:" LINK_ARCH64_SPEC "}%{!m64:" LINK_ARCH32_SPEC "}"
133 133

  
134
/* #undef LINK_LIBGCC_SPECIAL_1 */
135
/* #define LINK_LIBGCC_SPECIAL_1=1 */
136
#undef LINK_LIBGCC_SPEC
137
#define LINK_LIBGCC_SPEC "%{m64:" "-R /usr/gcc/4.6/lib/amd64:/usr/gcc/lib/amd64 %D" "}%{!m64:" "-R /usr/gcc/4.6/lib:/usr/gcc/lib %D" "}"
138
#undef MD_EXEC_PREFIX
139
#define MD_EXEC_PREFIX "/usr/gcc/bin/"
140
#define LINK_ELIMINATE_DUPLICATE_LDIRECTORIES 0
134 141
/* We do not need to search a special directory for startup files.  */
135 142
#undef MD_STARTFILE_PREFIX
136 143

  
    (1-1/1)