home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / BDSC / BDSC-2 / L2LINK.FIX < prev    next >
Text File  |  2000-06-30  |  1KB  |  35 lines

  1. -> File: L2LINK.FIX
  2.  
  3.     By:    Harvey Fishman
  4.         1408 East 49th Street
  5.         Brooklyn, New York 11234
  6.         212-CL8-7276
  7.  
  8.  
  9.  
  10. The L2 Linker for BDS C (written by Scott Layson of Mark of the Unicorn)
  11. is an interesting package.  However, I received it in source form and ran
  12. into several problems compiling it.  This file documents the problems that
  13. I ran into and the solutions for them.
  14.  
  15. First, if you are compiling it to run under CP/M, you must make sure that
  16. the line "#define MARC" in L2.C is commented out.  It leads to wierd problems
  17. if it is not.  
  18.  
  19. The second problem may have arisen from the fact that I received Version 2.2
  20. of the source, but Version 2.1 of the documentation, but in any case, it is
  21. something to watch out for.
  22.  
  23. The documentation says to compile the file L2.C with a command of:
  24.  
  25.         "cc l2.c -e 4500"
  26.  
  27. This is sort of true and not true at the same time.  It will work fine IF (and
  28. only if) you link the file with L2.  If you are going to use CLINK to link,
  29. the minimum address for the externals must be 4700h, because otherwise the
  30. externals will overwrite part of the program file.  (That little fact cost a
  31. LOT of torn out hair!)  AFTER you link L2 for the first time with CLINK, and
  32. have a working copy of L2, you can go back and recompile L2.C with the 4500h
  33. address and THEN link with the preliminary copy of L2, and it all will work.
  34.  
  35.