Article View: comp.lang.modula2
Article #2413Re: Another JPI Compiler bug?
From: Andries Dippenaar
Date: Sat, 23 Jan 1993 22:38
Date: Sat, 23 Jan 1993 22:38
53 lines
2874 bytes
2874 bytes
marcus_olk@cl-hh.comlink.de wrote: : I'd like to ask the people using JPI-M2 to test the following: : : 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). If I recall correctly, you don't get the compiled run-time code for all possible memory model/calling convention/target environments. You get a fairly representative set, but the rest you have to build should you need them. If you have the TechKit (and the source kit(s) I think), the process of building a new .LIB is quite painless. Simply select MKLIB as your project file, then set the calling convention/memory model/target platform either by editing the project or via the menus. Now, make the project. It should start compiling and assembling some of the base source code. The result is a new .LIB, with the requested conventions. The demo should then link properly. You'll notice that very few Stack libraries are provided. : And now, reset the calling conventions to jpi and set [Project] : [Optimization options...][Coprocessor] to emu for 87-Emulation. I'm : [some stuff deleted] : 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 It may have to do with the way MSW handles the co-pro. I'm not sure if it goes to the trouble of either emulating it or not. I recall Borland has some problems with their products and MSW. I haven't tried this out myself. Which version of TopSpeed do you use, 3.02? : 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 Again, I believe you'll have to build this particular library using the technique I described above. Hope this helps, Andries *********************************************************************** * /|~~\ * APJ Dippenaar * "If you wanna make the world a * * /__|__/ * apj@beldin.sun.ac.za * better place, take a look at * * / | * Univ of Stellenbosch * yourself and make a change." * * / \__| * South Africa * -- Michael Jackson * ***********************************************************************
Technical Details
Message-ID:
<1993Jan23.223848.28578@hippo.ru.ac.za>Path:
arc1-ca.pugleaf.net!sparky!uunet!psgrain!hippo!apjReferences:
<27696128681@olk.cl-hh.comlink.de>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.modula2 Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!hippo!apj From: apj@beldin.sun.ac.za (Andries Dippenaar) Subject: Re: Another JPI Compiler bug? Message-ID: <1993Jan23.223848.28578@hippo.ru.ac.za> Sender: news@hippo.ru.ac.za Organization: University of Stellenbosch X-Newsreader: TIN [version 1.1 PL7] References: <27696128681@olk.cl-hh.comlink.de> Date: Sat, 23 Jan 1993 22:38:48 GMT Lines: 53