home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / bbs / gnu / gcc-2.5.8-src.lha / src / amiga / gcc-2.5.8 / config / i386 / seq-sysv3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-26  |  798 b   |  27 lines

  1. #include "i386/sysv3.h"
  2.  
  3. /* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work
  4.    but crt0.o does.  */
  5.  
  6. #undef STARTFILE_SPEC
  7. #define STARTFILE_SPEC  \
  8. "%{pg:gcrt0.o%s}\
  9.  %{!pg:%{posix:%{p:mcrtp0.o%s}%{!p:crtp0.o%s}}\
  10.        %{!posix:%{p:mcrt0.o%s}%{!p:crt0.o%s}}} crtbegin.o%s\
  11.  %{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp}"
  12.  
  13. #undef LIB_SPEC
  14. #define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc crtend.o%s"
  15.  
  16. #undef CPP_SPEC
  17. #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} -D_SEQUENT_"
  18.  
  19. /* Although the .init section is used, it is not automatically invoked.
  20.    This because the _start() function in /lib/crt0.o never calls anything
  21.    from the .init section */
  22. #define INVOKE__main
  23.  
  24. /* Use atexit for static destructors, instead of defining
  25.    our own exit function.  */
  26. #define HAVE_ATEXIT
  27.