home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / modula2 / 1731 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.7 KB  |  66 lines

  1. Newsgroups: comp.lang.modula2
  2. Path: sparky!uunet!psgrain!hippo!apj
  3. From: apj@beldin.sun.ac.za (Andries Dippenaar)
  4. Subject: Re: Another JPI Compiler bug?
  5. Message-ID: <1993Jan23.223848.28578@hippo.ru.ac.za>
  6. Sender: news@hippo.ru.ac.za
  7. Organization: University of Stellenbosch
  8. X-Newsreader: TIN [version 1.1 PL7]
  9. References: <27696128681@olk.cl-hh.comlink.de>
  10. Date: Sat, 23 Jan 1993 22:38:48 GMT
  11. Lines: 53
  12.  
  13. marcus_olk@cl-hh.comlink.de wrote:
  14. : I'd like to ask the people using JPI-M2 to test the following:
  15. : Now, set [Project][Project options...][Calling convention] to stack
  16. : and re-make the demo. The linker should report
  17. : Error: File not found
  18. : File: wsfcom.lib
  19. :
  20. : We can't find this library on our distribution disks (Env,M2,Tech-kit).
  21.  
  22. If I recall correctly, you don't get the compiled run-time code for all
  23. possible memory model/calling convention/target environments.  You get
  24. a fairly representative set, but the rest you have to build should you
  25. need them.  If you have the TechKit (and the source kit(s) I think), the 
  26. process of building a new .LIB is quite painless.  Simply select MKLIB 
  27. as your project file, then set the calling convention/memory model/target 
  28. platform either by editing the project or via the menus.  Now, make the 
  29. project.  It should start compiling and assembling some of the base 
  30. source code.  The result is a new .LIB, with the requested
  31. conventions.  The demo should then link properly.  You'll notice that
  32. very few Stack libraries are provided.
  33.  
  34. : And now, reset the calling conventions to jpi and set [Project]
  35. : [Optimization options...][Coprocessor] to emu for 87-Emulation. I'm
  36.  
  37. : [some stuff deleted]
  38.  
  39. : Re-make the demo-project and try to execute the new binary under MSW.
  40. : On my system, this leads to lock-up MSW. After a reboot you might try
  41.  
  42. It may have to do with the way MSW handles the co-pro.  I'm not sure
  43. if it goes to the trouble of either emulating it or not.  I recall
  44. Borland has some problems with their products and MSW.  I haven't
  45. tried this out myself.  Which version of TopSpeed do you use, 3.02?
  46.  
  47. : to set the winmath symbol in the project-file from "none" to "emu".
  48. : When you re-make the project you'll get the linker report
  49. : Error: File not found
  50. : File: win87em.lib
  51.  
  52. Again, I believe you'll have to build this particular library using
  53. the technique I described above.
  54.  
  55. Hope this helps,
  56. Andries
  57. ***********************************************************************
  58. *       /|~~\ * APJ Dippenaar        * "If you wanna make the world a *
  59. *     /__|__/ * apj@beldin.sun.ac.za *  better place, take a look at  *
  60. *   /    |    * Univ of Stellenbosch *  yourself and make a change."  *
  61. * /   \__|    * South Africa         *             -- Michael Jackson *
  62. ***********************************************************************
  63.