🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2407

Another JPI Compiler bug?

#2407
From: marcus_olk
Date: Fri, 22 Jan 1993 08:48
51 lines
2152 bytes
I'd like to ask the people using JPI-M2 to test the following:

Select the project MWDEMO.PR and run make on it. Try to execute the
compiled MWDEMO.EXE under MSW - it should work.

Now, set [Project][Project options...][Calling convention] to stack
and re-make the demo. The linker should report

Error: File not found
File: wsfcom.lib

We can't find this library on our distribution disks (Env,M2,Tech-kit).

And now, reset the calling conventions to jpi and set [Project]
[Optimization options...][Coprocessor] to emu for 87-Emulation. I'm
using an 386SX, so I have to set this switch. Edit the file MWMAIN.MOD
declare a REAL variable and assign an arbitrary real value to this
variable, e.g. in procedure WinMain:

...
VAR
  test : REAL;
  ...
BEGIN
  test := 0.0;
  ...

Re-make the demo-project and try to execute the new binary under MSW.
On my system, this leads to lock-up MSW. After a reboot you might try
to set the winmath symbol in the project-file from "none" to "emu".
When you re-make the project you'll get the linker report

Error: File not found
File: win87em.lib

We can't find this lib, either. I'd like to know if you can confirm
these problems.

Thanks in advance,
Marcus

--
 Marcus Olk        # Internet: olk@informatik.uni-hamburg.de
 Schwalbenweg 9a   #           marcus_olk@cl-hh.comlink.de
 D-2000 Hamburg 61 # Zerberus: MARCUS_OLK@CL-HH.ZER
`Wer sagt, dass man Glueck nicht kaufen kann, hat keine Ahnung von Shopping'
                                                          --- David Lee Roth



## net_sh v1.6 (sb)
Technical Details
Message-ID: <27696128681@olk.cl-hh.comlink.de>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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
Date: Fri, 22 Jan 1993 09:48:00 CET
From: marcus_olk@cl-hh.comlink.de
Reply-To: marcus_olk@cl-hh.comlink.de
Distribution: world
Message-ID: <27696128681@olk.cl-hh.comlink.de>
Newsgroups: comp.lang.modula2
Subject: Another JPI Compiler bug?
Organization: Freies Telekommunikations-Zentrum Hamburg e.V.
Content-Length: 1548    
Lines: 52      
X-Gateway: NETCALL3.8 UC xclhh.comlink.de [UZERCP V3.99d]