Browse Prior Art Database

Make Facility Exploiting OS/2 Multitasking

IP.com Disclosure Number: IPCOM000121115D
Original Publication Date: 1991-Jul-01
Included in the Prior Art Database: 2005-Apr-03
Document File: 2 page(s) / 58K

Publishing Venue

IBM

Related People

West, AM: AUTHOR

Abstract

Prior to OS/2* the single-threaded DOS Make facility provided by Microsoft has been adequate for the hardware and operating system capabilities. With the multi-MIP processors and a true multitasking operating system, the old style "Make" does not exploit these new capabilities. Disclosed is a technique that allows parallel compiling.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 75% of the total text.

Make Facility Exploiting OS/2 Multitasking

      Prior to OS/2* the single-threaded DOS Make facility
provided by Microsoft has been adequate for the hardware and
operating system capabilities.  With the multi-MIP processors and a
true multitasking operating system, the old style "Make" does not
exploit these new capabilities. Disclosed is a technique that allows
parallel compiling.

      Quite often with large numbers of modules and a common include-
file, several modules may need recompiling due to a change in the
common include-file.  There is no reason why these compilations may
not proceed in parallel, taking advantage of OS/2's multitasking,
High Performance file system and the performance of PS/2*.
Example of Problem

      The current Microsoft make facility single threads its
processing of the make facility; take, for instance, the following
make file:
Module1.obj: Module1.c Module1.h Module.h
 cl c(copts) module1.c
Module2.obj: Module2.c Module2.h Module.h
 cl c(copts) module2.c
Module3.obj: Module 3.c Module3.h Module.h
 cl c(copts) module3.c
Module4.obj: Module4.c Module4.h Module.h
 cl c(copts) module4.c
Module.res: Module.rc Module2.h Module.h
 rc -r module.rc
Module.exe: Module1.obj Module2.obj Module3.obj Module4.obj
 link @module.lnk
Module.exe: Module.res
 rc Module.res

      If module.h is changed, then all four c files and the .rc file
need recompiling.
Solution

      The way to exploit the features of OS/2 is to make a co...