home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / GCC / GCC258_5.LHA / gcc-2.5.8-amiga / config / i386 / t-sol2 < prev    next >
Encoding:
Text File  |  1993-09-09  |  1.1 KB  |  30 lines

  1. # We need startup files for Solaris, since we don't get them with the system
  2. # FIXME:  Should include "gmon.o" when it is ported.
  3.  
  4. EXTRA_PARTS=crt1.o crti.o crtn.o crtbegin.o crtend.o
  5.  
  6. # we need to supply our own assembly versions of libgcc1.c files,
  7. # since the user may not have native 'cc' available
  8.  
  9. LIBGCC1 = libgcc1.null
  10. CROSS_LIBGCC1 = libgcc1.null
  11.  
  12. # gmon build rule:
  13. gmon.o:    $(srcdir)/config/i386/gmon-sol2.c $(GCC_PASSES) $(CONFIG_H)
  14.     $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(INCLUDES) \
  15.         -c $(srcdir)/config/i386/gmon-sol2.c -o gmon.o
  16.  
  17. # Assemble startup files.
  18. # Apparently Sun believes that assembler files don't need comments, because no
  19. # single ASCII character is valid (tried them all).  So we manually strip out
  20. # the comments with sed.  This bug may only be in the Early Access releases.
  21. crt1.o: $(srcdir)/config/i386/sol2-c1.asm
  22.     sed -e '/^!/d' <$(srcdir)/config/i386/sol2-c1.asm >crt1.s
  23.     $(AS) -o crt1.o crt1.s
  24. crti.o: $(srcdir)/config/i386/sol2-ci.asm
  25.     sed -e '/^!/d' <$(srcdir)/config/i386/sol2-ci.asm >crti.s
  26.     $(AS) -o crti.o crti.s
  27. crtn.o: $(srcdir)/config/i386/sol2-cn.asm
  28.     sed -e '/^!/d' <$(srcdir)/config/i386/sol2-cn.asm >crtn.s
  29.     $(AS) -o crtn.o crtn.s
  30.