summaryrefslogtreecommitdiff
path: root/gcc/config/i386/djgpp.h
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-07 00:33:20 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-07 00:33:20 +0000
commitb7b8ae12d42228125b397d2f0138724fc3bef992 (patch)
tree83de53c750b80cc70119452135946c4c34fa5ebb /gcc/config/i386/djgpp.h
parent6d98463fb723f73867bb641bcafc55ad0a9bf3a4 (diff)
downloadgcc-b7b8ae12d42228125b397d2f0138724fc3bef992.tar.gz
* config/i386/djgpp.h: Add comments about standard paths.
(MD_EXEC_PREFIX): Undefine before defining. (MD_STARTFILE_PREFIX): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39504 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/djgpp.h')
-rw-r--r--gcc/config/i386/djgpp.h11
1 files changed, 10 insertions, 1 deletions
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] == '\\') || \