home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / bsd_srcs / usr.bin / lisp / lispnews / text0208.txt < prev    next >
Encoding:
Text File  |  1985-11-10  |  999 b   |  39 lines

  1. Problem:
  2. The "make fromasm" option for franz installation on a 68k does not work
  3. as distributed.
  4.  
  5. Diagnosis:
  6. The assembler is used to convert *.s files into *.o.  But the output of
  7. as defaults to "a.out" and is not overridden, so no *.o files are
  8. produced.
  9.  
  10. Fixes:
  11. Specify the output file in the fromasm: option in lisplib/Makefile and
  12. liszt/68k/Makefile.
  13.  
  14. In lisplib/Makefile, and (if make copylibrary has been done) in
  15. /usr/lib/lisp/Makefile, change
  16.  
  17. <    for i in *.s; do echo $$i; ${LibDir}/as $$i; done
  18. ----
  19. >    for i in *.s; do echo $$i; \
  20. >    ${LibDir}/as $$i -o `basename $$i .s`.o; done
  21.  
  22. In liszt/68k/Makefile, change
  23.  
  24. <    for i in *.s; do echo $$i; as $$i; done
  25. ----
  26. >    for i in *.s; do echo $$i; \
  27. >    as $$i -o `basename $$i .s`.o; done
  28.  
  29. Bugs:
  30. 1.  One version specifies ${LibDir}/as, the other uses vanilla as.  I
  31.     didn't change it, but perhaps the liszt/68k/Makefile should also
  32.     specify ${LibDir}/as.
  33.  
  34. 2.  Isn't there a cleaner way of doing this?  Can a ".s.o:" rule be
  35.     specified?
  36.  
  37. Dan
  38.  
  39.