home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / modula2 / 1725 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  2.0 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!Germany.EU.net!news.Hamburg.Germany.EU.net!xclhh.comlink.de!cl-hh.comlink.de!MARCUS_OLK
  2. Date: Fri, 22 Jan 1993 09:48:00 CET
  3. From: marcus_olk@cl-hh.comlink.de
  4. Reply-To: marcus_olk@cl-hh.comlink.de
  5. Distribution: world
  6. Message-ID: <27696128681@olk.cl-hh.comlink.de>
  7. Newsgroups: comp.lang.modula2
  8. Subject: Another JPI Compiler bug?
  9. Organization: Freies Telekommunikations-Zentrum Hamburg e.V.
  10. Content-Length: 1548    
  11. Lines: 52      
  12. X-Gateway: NETCALL3.8 UC xclhh.comlink.de [UZERCP V3.99d]
  13.  
  14. I'd like to ask the people using JPI-M2 to test the following:
  15.  
  16. Select the project MWDEMO.PR and run make on it. Try to execute the
  17. compiled MWDEMO.EXE under MSW - it should work.
  18.  
  19. Now, set [Project][Project options...][Calling convention] to stack
  20. and re-make the demo. The linker should report
  21.  
  22. Error: File not found
  23. File: wsfcom.lib
  24.  
  25. We can't find this library on our distribution disks (Env,M2,Tech-kit).
  26.  
  27. And now, reset the calling conventions to jpi and set [Project]
  28. [Optimization options...][Coprocessor] to emu for 87-Emulation. I'm
  29. using an 386SX, so I have to set this switch. Edit the file MWMAIN.MOD
  30. declare a REAL variable and assign an arbitrary real value to this
  31. variable, e.g. in procedure WinMain:
  32.  
  33. ...
  34. VAR
  35.   test : REAL;
  36.   ...
  37. BEGIN
  38.   test := 0.0;
  39.   ...
  40.  
  41. Re-make the demo-project and try to execute the new binary under MSW.
  42. On my system, this leads to lock-up MSW. After a reboot you might try
  43. to set the winmath symbol in the project-file from "none" to "emu".
  44. When you re-make the project you'll get the linker report
  45.  
  46. Error: File not found
  47. File: win87em.lib
  48.  
  49. We can't find this lib, either. I'd like to know if you can confirm
  50. these problems.
  51.  
  52. Thanks in advance,
  53. Marcus
  54.  
  55. --
  56.  Marcus Olk        # Internet: olk@informatik.uni-hamburg.de
  57.  Schwalbenweg 9a   #           marcus_olk@cl-hh.comlink.de
  58.  D-2000 Hamburg 61 # Zerberus: MARCUS_OLK@CL-HH.ZER
  59. `Wer sagt, dass man Glueck nicht kaufen kann, hat keine Ahnung von Shopping'
  60.                                                           --- David Lee Roth
  61.  
  62.  
  63.  
  64. ## net_sh v1.6 (sb)
  65.  
  66.