home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / config / rs6000 / t-eabi < prev    next >
Text File  |  1995-07-21  |  1KB  |  35 lines

  1. # Do not build libgcc1.
  2. LIBGCC1 =
  3. CROSS_LIBGCC1 =
  4.  
  5. # These are really part of libgcc1, but this will cause them to be
  6. # built correctly, so... [taken from t-sparclite]
  7. LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c eabi.asm eabi-ctors.c
  8.  
  9. dp-bit.c: $(srcdir)/config/fp-bit.c
  10.     cat $(srcdir)/config/fp-bit.c > dp-bit.c
  11.  
  12. fp-bit.c: $(srcdir)/config/fp-bit.c
  13.     echo '#define FLOAT' > fp-bit.c
  14.     cat $(srcdir)/config/fp-bit.c >> fp-bit.c
  15.  
  16. eabi.asm: $(srcdir)/config/rs6000/eabi.asm
  17.     cat $(srcdir)/config/rs6000/eabi.asm > eabi.asm
  18.  
  19. eabi-ctors.c: $(srcdir)/config/rs6000/eabi-ctors.c
  20.     cat $(srcdir)/config/rs6000/eabi-ctors.c > eabi-ctors.c
  21.  
  22. # Build libgcc.a with different options.  If no gas support, don't build
  23. # explicit little endian or big endian libraries, since it depends on the
  24. # -mbig/-mlittle switches passed to gas.  The -mrelocatable support also needs
  25. # -mrelocatable passed to gas, so don't use it either.
  26.  
  27. MULTILIB_OPTIONS    = msoft-float
  28. MULTILIB_DIRNAMES    = soft-float
  29. MULTILIB_MATCHES    = msoft-float=mcpu?403 \
  30.               msoft-float=mcpu?mpc403 \
  31.               msoft-float=mcpu?ppc403
  32.  
  33. LIBGCC = stmp-multilib
  34. INSTALL_LIBGCC = install-multilib
  35.