#ifndef EXTRA_OS_LYNX_TARGET_SPECS
# define EXTRA_OS_LYNX_TARGET_SPECS
#endif
#ifndef EXTRA_OS_LYNX_SPECS
# define EXTRA_OS_LYNX_SPECS \
{ "cpp_os_lynx", CPP_OS_LYNX_SPEC }, \
{ "lib_os_lynx", LIB_OS_LYNX_SPEC }, \
{ "link_os_lynx", LINK_OS_LYNX_SPEC }, \
{ "startfile_os_lynx", STARTFILE_OS_LYNX_SPEC }, \
{ "endfile_os_lynx", ENDFILE_OS_LYNX_SPEC }, \
EXTRA_OS_LYNX_TARGET_SPECS
#endif
#ifndef SUBTARGET_EXTRA_SPECS
# define SUBTARGET_EXTRA_SPECS EXTRA_OS_LYNX_SPECS
#endif
#ifndef CPP_SPEC
# define CPP_SPEC "%(cpp_cpu) %(cpp_os_lynx)"
#endif
#ifndef LIB_SPEC
# define LIB_SPEC "%(lib_os_lynx)"
#endif
#ifndef LINK_SPEC
# define LINK_SPEC "%(link_os_lynx)"
#endif
#ifndef STARTFILE_SPEC
# define STARTFILE_SPEC "%(startfile_os_lynx)"
#endif
#ifndef ENDFILE_SPEC
# define ENDFILE_SPEC "%(endfile_os_lynx)"
#endif
#ifndef CPP_OS_LYNX_SPEC
# define CPP_OS_LYNX_SPEC \
"%{mthreads: \
%{mlegacy-threads: \
%ecannot use mthreads and mlegacy-threads together}} \
%{mthreads: -D_MULTITHREADED} \
%{mlegacy-threads: -D_THREADS_POSIX4ad4} \
-Asystem=lynx -Asystem=unix -D__Lynx__ -D__unix__"
#endif
#ifndef LIB_OS_LYNX_SPEC
# define LIB_OS_LYNX_SPEC \
"%{mlegacy-threads:-lposix-pre1c} -lm -lc"
#endif
#ifndef LINK_OS_LYNX_SPEC
# define LINK_OS_LYNX_SPEC \
"%{shared} %{static} \
%{mshared: %{static: %ecannot use mshared and static together}} \
%{!mshared: %{!shared: %{!static: -static}}} \
%{L*} \
%{mthreads: \
%{mshared: -L/lib/thread/shlib -rpath /lib/thread/shlib} \
%{shared: \
%{!static: -L/lib/thread/shlib -rpath /lib/thread/shlib} \
%{!mshared: -L/lib/thread}} \
%{shared: %{static: -L/lib/thread}}} \
%{!mthreads: \
%{mshared: -L/lib/shlib -rpath /lib/shlib} \
%{shared: -L/lib/shlib -rpath /lib/shlib}} \
%{mlegacy-threads:-lposix-pre1c} -lm -lc"
#endif
#ifndef STARTFILE_OS_LYNX_SPEC
# define STARTFILE_OS_LYNX_SPEC \
"%{!shared: \
%{!mthreads: \
%{p:gcrt1.o%s} %{pg:gcrt1.o%s} \
%{!p:%{!pg:crt1.o%s}}} \
%{mthreads: \
%{p:thread/gcrt1.o%s} %{pg:thread/gcrt1.o%s} \
%{!p:%{!pg:thread/crt1.o%s }}}}\
%{mthreads: thread/crti.o%s} %{!mthreads: crti.o%s} \
%{!shared: crtbegin.o%s} \
%{shared: crtbeginS.o%s}"
#endif
#ifndef ENDFILE_OS_LYNX_SPEC
# define ENDFILE_OS_LYNX_SPEC \
"%{!shared: crtend.o%s} \
%{shared: crtendS.o%s} \
%{mthreads: thread/crtn.o%s} %{!mthreads: crtn.o%s}"
#endif
#ifndef SIZE_TYPE
# define SIZE_TYPE "unsigned int"
#endif
#ifndef PTRDIFF_TYPE
# define PTRDIFF_TYPE "int"
#endif
#ifndef WCHAR_TYPE
# define WCHAR_TYPE "long int"
#endif
#ifndef WCHAR_TYPE_SIZE
# define WCHAR_TYPE_SIZE BITS_PER_WORD
#endif
#ifndef ASM_OUTPUT_ALIGN
# define ASM_OUTPUT_ALIGN(FILE, LOG) \
do \
{ \
if ((LOG) != 0) \
fprintf ((FILE), "\t.balign %d\n", 1 << (LOG)); \
} \
while (0)
#endif
#ifndef PREFERRED_DEBUGGING_TYPE
# define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#endif
#ifndef NO_IMPLICIT_EXTERN_C
# define NO_IMPLICIT_EXTERN_C
#endif
#ifndef TARGET_POSIX_IO
# define TARGET_POSIX_IO
#endif