m3where

m3where is a program that locates Modula-3 source files, relative to a particular program or library package. By default it locates the given units relative to the default build directory of the package that is rooted at the current working directory. The -d option can be used to specify the pathname of a particular package to be used to locate the units. Sources that are hidden (not exported) by the packages are not located unless option -h is set.

The syntax for invoking m3where is

     m3where [options] [units ...]

If no units are given, m3where enumerates all of the sources associated with the package and those that it imports. Sources that are hidden (not exported) are not shown unless option -h is set.

The units are specified as filenames of the form "Foo.xx", where "xx" is one of the standard Modula-3 file extensions. Wildcards are not supported.

Note that, in order for m3where to work, m3build must have been run at least once for the given package/build directory pair.

If the given units can be located, the full pathnames are output to the standard output, otherwise an error message is output.

The following options are interpreted by m3where.

And finally, any other arguments that begin with a "-" are passed on to quake. A couple that may be useful are:

For example,
    m3where Pathname.i3
would try to find the file Pathname.i3 from the information in the build directory of the package rooted at the current working directory.

And,

    m3where -b NT386 -d /proj/m3/pkg/libm3 PathnameWin32.m3
would try to find the file PathnameWin32.m3 using the information in the NT386 build directory of the libm3 package.


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Thu Jan  4 11:08:01 PST 1996 by heydon 
     modified on Fri Apr 29 11:14:15 PDT 1994 by kalsow 
     modified on Thu May  6 12:48:23 PDT 1993 by mjordan
Copyright (C) 1992, 1996, Digital Equipment Corporation. All rights reserved.
See the COPYRIGHT for a full description.