From: Mark Elbrecht Date: Mon, 21 Jun 1999 05:23:16 +0000 (-0600) Subject: djgpp.h (LIB_SPEC): New. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4308a83ff4d0133faff3eb96729ff4671c2cf38;p=gcc.git djgpp.h (LIB_SPEC): New. x * i386/djgpp.h (LIB_SPEC): New. (STARTFILE_SPEC): New. * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete. From-SVN: r27655 --- diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 6cee75bc837..5727b0a9bbd 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -70,7 +70,15 @@ Boston, MA 02111-1307, USA. */ \t%{!A:%{!nostdlib:%{!nostartfiles:%E}}}\ \t-Tdjgpp.djl %{T*}}}}}}}\n\ %{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out} }}}}}" - + +/* Always just link in 'libc.a'. */ +#undef LIB_SPEC +#define LIB_SPEC "-lc" + +/* Pick the right startup code depending on the -pg flag. */ +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "%{pg:gcrt0.o%s}%{!pg:crt0.o%s}" + /* Make sure that gcc will not look for .h files in /usr/local/include unless user explicitly requests it. */ #undef LOCAL_INCLUDE_DIR diff --git a/gcc/config/i386/xm-djgpp.h b/gcc/config/i386/xm-djgpp.h index 50034fd071d..ccf6e3cedf6 100644 --- a/gcc/config/i386/xm-djgpp.h +++ b/gcc/config/i386/xm-djgpp.h @@ -34,8 +34,6 @@ Boston, MA 02111-1307, USA. */ /* Allow test for DOS drive names. */ #define HAVE_DOS_BASED_FILESYSTEM -#define NO_SYS_SIGLIST 1 - #define LIBSTDCXX "-lstdcxx" /* System dependant initialization for collect2