From df447210c354fd23950cc3d076559555f1091548 Mon Sep 17 00:00:00 2001 From: Laurynas Biveinis Date: Wed, 7 Feb 2001 00:33:20 +0000 Subject: [PATCH] djgpp.h: Add comments about standard paths. * config/i386/djgpp.h: Add comments about standard paths. (MD_EXEC_PREFIX): Undefine before defining. (MD_STARTFILE_PREFIX): New. From-SVN: r39504 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/djgpp.h | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0937f2473b0..7aa8c7255c8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-02-06 Laurynas Biveinis + + * config/i386/djgpp.h: Add comments about standard paths. + (MD_EXEC_PREFIX): Undefine before defining. + (MD_STARTFILE_PREFIX): New. + 2001-01-30 Bruce Korb fixinc/fixincl.c(process): Emit error message only if appropriate :) diff --git a/gcc/config/i386/djgpp.h b/gcc/config/i386/djgpp.h index 165a2afc0d9..91940b570ef 100644 --- a/gcc/config/i386/djgpp.h +++ b/gcc/config/i386/djgpp.h @@ -90,13 +90,22 @@ Boston, MA 02111-1307, USA. */ #undef UNALIGNED_SHORT_ASM_OP #define UNALIGNED_SHORT_ASM_OP "\t.short\t" -/* Tell GCC where our standard include directory is. */ +/* Define standard DJGPP installation paths. */ +/* We override default /usr or /usr/local part with /dev/env/DJDIR which */ +/* points to actual DJGPP instalation directory. */ + +/* Standard include directory */ #undef STANDARD_INCLUDE_DIR #define STANDARD_INCLUDE_DIR "/dev/env/DJDIR/include/" /* Search for as.exe and ld.exe in DJGPP's binary directory. */ +#undef MD_EXEC_PREFIX #define MD_EXEC_PREFIX "/dev/env/DJDIR/bin/" +/* Standard DJGPP library and startup files */ +#undef MD_STARTFILE_PREFIX +#define MD_STARTFILE_PREFIX "/dev/env/DJDIR/lib/" + /* Correctly handle absolute filename detection in cp/xref.c */ #define FILE_NAME_ABSOLUTE_P(NAME) \ (((NAME)[0] == '/') || ((NAME)[0] == '\\') || \ -- 2.30.2