🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1432

Re: Compilier Problems

#1432
From: George Thiruvathukal
Date: Mon, 03 Dec 1990 01:53
37 lines
2154 bytes
In article <48608@eerie.acsu.Buffalo.EDU>, woiccak@acsu.buffalo.edu (thomas s woiccak) writes:
>1) Does anyone know (if possible) how to set the compiler up to look in 
>   sub-dirs for stuff?

Depending upon what version of TopSpeed Modula-2 you are using, you can take 
advantage of the "redirection" file.  In version 1, the file was named m2.red;
in version 2, ts.red.

> 
>  Also, I heard that the FST M2 compiler had a command line compiler, SO I got 
>that one and installed it. It lets me use my editor and it allows for sub-dirs 
>and is very clean and appeared powerful. Of course, that view didn't last.

You probably do not want to use the FST M2 compiler, even though it is one of
the better free software packages.  TopSpeed M2 is much better.

TopSpeed has always supplied a command line compiler.  In early versions the
command line compiler was invoked as follows:
   m2 /c filename.mod

Since version 2, the command line compiler has been a separate program from the
TopSpeed multiple language environement.  It is invoked as follows:
   tsc filename.mod

You will have to check out the reference manuals for detailed information on
how the command line compiler and redirection files are used.  There is also
an excellent feature in the TopSpeed compiler which cleanly generalizes the
notion of "project" files.  You can use project files to automate the
compilation and linkage of all possible objects, including EXE, DLL, and LIB
files.

Once you set up your redirection files, I have no doubt that you will be able
to do what you want to do, especially when it comes to "classes," so good luck.


George Thiruvathukal
gkt@iitmax.iit.edu
Technical Details
Message-ID: <4593@iitmax.IIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bellcore!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!iitmax!gkt
References: <48608@eerie.acsu.Buffalo.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!bellcore!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!iitmax!gkt
From: gkt@iitmax.IIT.EDU (George Thiruvathukal)
Newsgroups: comp.lang.modula2
Subject: Re: Compilier Problems
Message-ID: <4593@iitmax.IIT.EDU>
Date: 3 Dec 90 01:53:27 GMT
References: <48608@eerie.acsu.Buffalo.EDU>
Distribution: usa
Organization: Illinois Institute of Technology, Chicago
Lines: 37