🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #474

Re: M2 & Windows

#474
From: Adrian Wallaschek
Date: Sun, 21 Jan 1990 21:17
30 lines
1825 bytes
In comp.lang.modula2 you write:


>    Has anyone out there successfully interfaced Logitech Modula-2 with
>  Windows?  I have been playing around with the Windows libraries and
>  some neat stuff can be done.  Unfortunately, right now, what I have
>  only works when programming in C.

   MS-C has a option named -Gw or something like that (look up your manual!).
   This option encapsules every function in a windows-specific prolog and
   epilog.

>    I have managed to get the Modula-2 programs compiled and then linked
>  using link4, but Windows complains that they are too big to run.
>    Is there a Window guru who could point out what I am doing wrong?

   I'm afraid your Modula-compiler doesn't know about a MS-specific prolog/
   epilog, so your compiler is not able to generate windows-programs at all.

   (I posted yesterday for a research for a compiler that support windows.
    We'll see what I'll get.)

   I hope it hit you not too hard, but I'm afraid there's no way!
   (Perhaps a real guru will find a hack, but I don't beleive, because
    the prolog/epilog-structure must be embedded deep in the code-generator
    of the compiler and I haven't ever seen the source of a Modula-Compiler.)

   Yours,

     prefect (A.Wallaschek, wallaschek@uniol.UUCP)
Technical Details
Message-ID: <m0gpowX-0000CeC@aragorn>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UUNET.UU.NET!uniol!wallaschek
References: <INFO-M2%90011916351822@UCF1VM.BITNET>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!UUNET.UU.NET!uniol!wallaschek
From: uniol!wallaschek@UUNET.UU.NET (Adrian Wallaschek)
Newsgroups: comp.lang.modula2
Subject: Re: M2 & Windows
Message-ID: <m0gpowX-0000CeC@aragorn>
Date: 21 Jan 90 21:17:00 GMT
References: <INFO-M2%90011916351822@UCF1VM.BITNET>
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@PSUVM.PSU.EDU>
Organization: The Internet
Lines: 30