diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-08-28 19:19:20 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-08-28 19:19:20 +0000 |
commit | 0eea676dbe3ba17b5cfa96612afb1f3c6a019b83 (patch) | |
tree | 31550c95bf79c1ede06e11aff2d1fd6573ab0281 /gcc/config/lynx.h | |
parent | a6620ee75c7adc908d307f24ec9ebd7591943ed3 (diff) | |
download | ppe42-gcc-0eea676dbe3ba17b5cfa96612afb1f3c6a019b83.tar.gz ppe42-gcc-0eea676dbe3ba17b5cfa96612afb1f3c6a019b83.zip |
(CPP_SPEC): Use include_v not include-v.
(LINK_SPEC): Add missing `-' before `k' option.
(PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG.
(SDB_DEBUGGING_INFO): Define.
(MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-.
(LINK_LIBGCC_SPECIAL_1): Define.
(NAME__MAIN, SYMBOL__MAIN): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/lynx.h')
-rw-r--r-- | gcc/config/lynx.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/gcc/config/lynx.h b/gcc/config/lynx.h index 41d6dda7388..ef4ac7dd81c 100644 --- a/gcc/config/lynx.h +++ b/gcc/config/lynx.h @@ -6,7 +6,7 @@ #define ASM_SPEC "%{mcoff:-C}" #undef CPP_SPEC -#define CPP_SPEC "%{mthreads:-D_MULTITHREADED} %{mposix:-D_POSIX_SOURCE} %{msystem-v:-I/usr/include-v}" +#define CPP_SPEC "%{mthreads:-D_MULTITHREADED} %{mposix:-D_POSIX_SOURCE} %{msystem-v:-I/usr/include_v}" /* Provide required defaults for linker switches. */ /* ??? The -k option may need to change to whatever option the GNU linker @@ -14,7 +14,7 @@ /* ??? The -V option may need to change to whatever option the GNU linker actually accepts. This is to produce System-V magic numbers. */ #undef LINK_SPEC -#define LINK_SPEC "%{!e*:-e __main} %{msystem-v:-V} %{mcoff:k}" +#define LINK_SPEC "-P1000 %{msystem-v:-V} %{mcoff:-k}" #undef LIB_SPEC #define LIB_SPEC "%{mthreads:-L/lib/thread/}%{msystem-v:-lc_v}%{!msystem-v:%{mposix:-lc_p} -lc}" @@ -37,6 +37,13 @@ /* We want to output DBX debugging information. */ #define DBX_DEBUGGING_INFO +#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG + +/* We optionally want to be able to produce SDB debugging output so that + we can create debuggable SDB/coff files. This won't be needed when + stabs-in-coff works. */ + +#define SDB_DEBUGGING_INFO /* Generate calls to memcpy, memcmp and memset. */ @@ -75,3 +82,19 @@ /* Define this so that C++ destructors will use atexit. */ #define HAVE_ATEXIT + +/* This is defined only so that we can find the assembler. Everything else + is in /bin. */ + +#define MD_EXEC_PREFIX "/usr/local/lib/gcc-" + +/* ??? This is needed because /bin/ld does not handle -L options correctly. + This can be deleted if GNU ld is being used. */ + +#define LINK_LIBGCC_SPECIAL_1 + +/* The Lynx linker considers __main to be a possible entry point, so we + must use a different name. */ + +#define NAME__MAIN "____main" +#define SYMBOL__MAIN ____main |