JPH03141433A - Compiler starting system with designation of compiler load module retrieving order - Google Patents

Compiler starting system with designation of compiler load module retrieving order

Info

Publication number
JPH03141433A
JPH03141433A JP27866289A JP27866289A JPH03141433A JP H03141433 A JPH03141433 A JP H03141433A JP 27866289 A JP27866289 A JP 27866289A JP 27866289 A JP27866289 A JP 27866289A JP H03141433 A JPH03141433 A JP H03141433A
Authority
JP
Japan
Prior art keywords
compiler
load module
load
modules
directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP27866289A
Other languages
Japanese (ja)
Inventor
Hiroko Nakada
裕子 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP27866289A priority Critical patent/JPH03141433A/en
Publication of JPH03141433A publication Critical patent/JPH03141433A/en
Pending legal-status Critical Current

Links

Landscapes

  • Devices For Executing Special Programs (AREA)

Abstract

PURPOSE:To start a desired compiler by designating only the directory that stores a desired load module to be started. CONSTITUTION:A compiler 11 containing the load modules 5-8 is provided with a retrieving order input means 1 which reads the retrieving order information 12 on those directories storing the modules 5-8, a load module deciding means 2 which decides the modules 5-8 to be started from the retrieving directory information 121-12n, and a compiler starting means 3 which starts the decided modules 5-8. As a result, the directories 121-12n storing the modules 5-8 can be designated. Thus it is possible to start a compiler consisting of the desired load modules to be started.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、コンパイル時に起動するロードモジュールを
指定できるコンパイラロードモジュール検索順序指定コ
ンパイラ起動方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a compiler startup method for specifying a compiler load module search order, which allows specifying a load module to be started at the time of compilation.

[従来の技術] 従来、複数のロードモジュールとこれらのロードモジュ
ールを制御する制御部とから構成されるコンパイラを起
動した場合は、−意に定められたディレクトリに格納さ
れている各々のロードモジュールを起動していた。
[Prior Art] Conventionally, when starting a compiler consisting of a plurality of load modules and a control unit that controls these load modules, - each load module stored in a predetermined directory is loaded. It was running.

[発明が解決しようとする課題] しかしながら、上述した従来技術では、複数のロードモ
ジュールとこれらを制御する制御部とから構成されるコ
ンパイラは、−意に定められたディレクトリ下のロード
モジュールしか起動しないため、異なる世代のコンパイ
ラを起動させたい場合や、一部のロードモジュールだけ
を変更したコンパイラを起動させたい場合には、以前の
ロードモジュールをセーブして起動したいコンパイラの
ロードモジュールを、以前のロードモジュールが格納さ
れていたディレクトリ下に、いちいち格納するという複
雑な手続きをとらなければならないという欠点がある。
[Problem to be Solved by the Invention] However, in the above-mentioned conventional technology, a compiler that is composed of a plurality of load modules and a control unit that controls them - only starts load modules under a predetermined directory; Therefore, if you want to start a compiler of a different generation, or if you want to start a compiler with only a part of the load modules changed, save the previous load module and reinstall the load module of the compiler you want to start. The drawback is that it requires a complicated procedure to store each module under the directory where the module was stored.

そこで9本発明の技術的課題は、上記欠点に鑑み、異な
る世代のコンパイラを起動させたい場合や、一部のロー
ドモジュールだけを変更したコンパイラを起動させたい
場合に、ロードモジュールをセーブしたり、他のディレ
クトリに移動したりすることなく、起動したいロードモ
ジュールを格納しているディレクトリのみを指定するこ
とによって、目的のコンパイラを起動することができる
コンパイラロードモジュール検索順序指定によるコンパ
イラ起動方式を提供することにある。
Therefore, in view of the above drawbacks, the technical problem of the present invention is to save the load module when you want to start a compiler of a different generation, or when you want to start a compiler with only some load modules changed. To provide a compiler startup method by specifying a compiler load module search order, which allows a target compiler to be started by specifying only the directory storing the load module to be started without moving to another directory. There is a particular thing.

C課題を解決するための手段] 本発明によれば、複数のロードモジュールを有するコン
パイラにおいて、コンパイル時に起動し。
Means for Solving Problem C] According to the present invention, in a compiler having a plurality of load modules, the load module is started at the time of compiling.

前記各ロードモジュールが格納されているディレクトリ
の検索順序を示す情報を読み込む検索順序入力手段と、
該検索順序入力手段により指定された検索ディレクトリ
から、起動する前記各ロードモジュールを決定するロー
ドモジュール決定手段と、該ロードモジュール決定手段
により決定されたロードモジュールを起動するコンパイ
ラ起動手段とを有していることを特徴とするコンパイラ
ロードモジュール検索順序指定によるコンパイラ起動方
式が得られる。
search order input means for reading information indicating a search order of directories in which the respective load modules are stored;
The compiler includes a load module determining means for determining each of the load modules to be activated from the search directory specified by the search order input means, and a compiler activating means for activating the load module determined by the load module determining means. A compiler startup method by specifying the compiler load module search order is obtained.

[実施例] 次に1本発明の実施例について図面を参照して説明する
[Example] Next, an example of the present invention will be described with reference to the drawings.

第1図は1本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

本実施例のコンパイラロードモジュール検索順序指定に
よるコンパイラ起動方式は、検索順序入力手段1と、ロ
ードモジュール決定手段2と、コンパイラ起動手段3と
を含む制御部4と、ロードモジュールa5と、ロードモ
ジュールb6と、ロードモジュールc7と、ロードモジ
ュールd8とから成るコンパイラ11と、検索ディレク
トリ情報1121と、検索ディレクトリ情報2122と
The compiler starting method by specifying the compiler load module search order of this embodiment includes a control unit 4 including a search order input means 1, a load module determining means 2, a compiler starting means 3, a load module a5, and a load module b6. , a compiler 11 including a load module c7 and a load module d8, search directory information 1121, and search directory information 2122.

・・・、検索ディレクトリ情報n12nとを含む検索順
序情報12とから構成されている。
. . , search order information 12 including search directory information n12n.

第2図は、検索順序入力手段1の処理手順を示す流れ図
である。
FIG. 2 is a flowchart showing the processing procedure of the search order input means 1.

第3図は、ロードモジュール決定手段2の処理手順を示
す流れ図である。
FIG. 3 is a flowchart showing the processing procedure of the load module determining means 2.

第4図は、コンパイラ起動手段3の処理手順を示す流れ
図である。
FIG. 4 is a flowchart showing the processing procedure of the compiler starting means 3.

第2図を参照して、検索順序入力手段1は、コンパイラ
起動時にコンパイラ11内の制御部4から起動される。
Referring to FIG. 2, the search order input means 1 is activated by the control unit 4 in the compiler 11 when the compiler is activated.

起動されると、起動するロードモジュールが格納されて
いるディレクトリの検索順序を示す検索順序情報12が
指定されているかどうかを判定(手順21)L、指定さ
れていれば(手順21YES)、検索ディレクトリ情報
1121、検索ディレクトリ情報2122.・・・、検
索ディレクトリ情報n12nを読み込み、ロードモジュ
ール決定手段2(手順23)に制御を移す。
When started, it is determined whether search order information 12 indicating the search order of the directory in which the load module to be started is stored is specified (step 21). If it is specified (step 21 YES), the search directory is determined. Information 1121, search directory information 2122. . . . reads the search directory information n12n and transfers control to the load module determining means 2 (step 23).

検索順序情報12が指定されていなければ(手順21N
O)、規定のロードモジュールをロードしく手順24)
、コンパイラ起動手段3に制御を移す(手順25)。
If search order information 12 is not specified (step 21N)
O), load the specified load module (Step 24)
, control is transferred to the compiler starting means 3 (step 25).

第3図に示すとおり、ロートモシュ〜 ル決定手段2は
1手順31で、検索ディレクトリ情報1121が示すデ
ィレクトリ内に、ロードモジュールa5と、ロードモジ
ュールb6と、ロードモジュールC7と、ロードモジュ
ールd8とが格納されているかを判定する。検索ディレ
クトリ情報1121が示すディレクトリ内にロードモジ
ュールa5が存在するならば1手順32で、ロードモジ
ュールa5をロードする。検索ディレクトリ情報112
1が示すディレクトリ内にロードモジュールb6と、ロ
ードモジュールc7と、ロードモジュールd8が存在し
なければ、次の検索ディレクトリ情報2122が示すデ
ィレクトリ内にそれらが格納されているかを判定し、ロ
ードモジュールが存在すれば手順32で、存在したロー
ドモジュールをロードする。以上の処理をロードモジュ
ールa5.  ロードモジュールb6.  ロードモジ
ュールc7.  ロードモジュールd8がすべてロード
されるまで繰り返す。全てのロードモジュールをロード
したならば、コンパイラ起動手段3に制御を移す(手順
33)。しかし、指定された検索順序情報12内の検索
ディレクトリ情報が示すディレクトリ内を検索してもロ
ードモジュールa5.  ロードモジュールb6.ロー
ドモジュールc7.  ロードモジュールd8の中で存
在しないものがあれば。
As shown in FIG. 3, the load module determining means 2 stores the load module a5, load module b6, load module C7, and load module d8 in the directory indicated by the search directory information 1121 in one step 31. Determine if it is. If load module a5 exists in the directory indicated by search directory information 1121, load module a5 is loaded in step 32. Search directory information 112
If load module b6, load module c7, and load module d8 do not exist in the directory indicated by 1, it is determined whether they are stored in the directory indicated by the next search directory information 2122, and the load module is found. Then, in step 32, the existing load module is loaded. Load module a5. Load module b6. Load module c7. Repeat until all load modules d8 are loaded. Once all the load modules have been loaded, control is transferred to the compiler starting means 3 (step 33). However, even if the directory indicated by the search directory information in the specified search order information 12 is searched, load module a5. Load module b6. Load module c7. If there is something that does not exist in load module d8.

手順34で、規定のディレクトリ下のロードモジュール
をロードし、コンパイラ起動手段3に制御を移す(手順
33)。
In step 34, the load module under the specified directory is loaded, and control is transferred to the compiler starting means 3 (step 33).

第4図に示すとおり、コンパイラ起動手段3は。As shown in FIG. 4, the compiler starting means 3.

手順41で、ロードされたロードモジュールa5と、ロ
ードモジュールb6と、ロードモジュールc7と、ロー
ドモジュールd8とを起動し、コンパイルを開始する。
In step 41, the loaded load module a5, load module b6, load module c7, and load module d8 are activated and compilation is started.

[発明の効果] 以上説明したように1本発明のコンパイラロードモジュ
ール検索順序指定によるコンパイラ起動方式では、ロー
ドモジュールが格納されているディレクトリを指定する
ことができるため、異なる世代のコンパイラを起動した
い場合や、一部のロードモジュールだけを変更したコン
パイラを起動したい場合は、ロードモジュールをセーブ
したり。
[Effects of the Invention] As explained above, in the compiler startup method by specifying the compiler load module search order of the present invention, it is possible to specify the directory in which the load module is stored, so when you want to start a compiler of a different generation. Or, if you want to start a compiler with only some load modules changed, you can save the load module.

他のディレクトリに移動することなく起動したいロード
モジュールから構成されるコンパイラを起動することが
できるという効果がある。
This has the effect that a compiler consisting of the load modules that you want to start can be started without moving to another directory.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は1本発明の一実施例を示す図であり。 第2図は、検索順序入力手段1の処理手順を示す流れ図
であり、第3図は、ロードモジュール決定手段2の処理
手順を示す流れ図であり、第4図は。 コンパイラ起動手段3の処理手順を示す流れ図である。 1・・・検索順序入力手段、2・・・ロードモジュール
決定手段、3・・・コンパイラ起動手段、4・・・制御
部。 5・・・ロードモジュールa、6・・・ロードモジュー
ルb、7・・・ロードモジュールc、8・・・ロードモ
ジュールd、11・・・コンパイラ、12・・・検索順
序情報。 121・・・検索ディレクトリ情報1.122・・・検
索ディレクトリ情報2.12n・・・検索ディレクトリ
情報n0 第2図
FIG. 1 is a diagram showing an embodiment of the present invention. FIG. 2 is a flowchart showing the processing procedure of the search order input means 1, FIG. 3 is a flowchart showing the processing procedure of the load module determining means 2, and FIG. 3 is a flowchart showing the processing procedure of the compiler starting means 3. DESCRIPTION OF SYMBOLS 1...Search order input means, 2...Load module determination means, 3...Compiler starting means, 4...Control unit. 5...Load module a, 6...Load module b, 7...Load module c, 8...Load module d, 11...Compiler, 12...Search order information. 121...Search directory information 1.122...Search directory information 2.12n...Search directory information n0 Figure 2

Claims (1)

【特許請求の範囲】 1)複数のロードモジュールを有するコンパイラにおい
て、 コンパイル時に起動し、前記各ロードモジュールが格納
されているディレクトリの検索順序を示す情報を読み込
む検索順序入力手段と、 該検索順序入力手段により指定された検索ディレクトリ
から、起動する前記各ロードモジュールを決定するロー
ドモジュール決定手段と、 該ロードモジュール決定手段により決定されたロードモ
ジュールを起動するコンパイラ起動手段と を設けたことを特徴とするコンパイラロードモジュール
検索順序指定によるコンパイラ起動方式。
[Scope of Claims] 1) In a compiler having a plurality of load modules, search order input means is activated at the time of compiling and reads information indicating the search order of the directories in which the respective load modules are stored; and the search order input means. The present invention is characterized by comprising: load module determining means for determining each of the load modules to be activated from the search directory specified by the means; and compiler activation means for activating the load module determined by the load module determining means. A compiler startup method that specifies the compiler load module search order.
JP27866289A 1989-10-27 1989-10-27 Compiler starting system with designation of compiler load module retrieving order Pending JPH03141433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27866289A JPH03141433A (en) 1989-10-27 1989-10-27 Compiler starting system with designation of compiler load module retrieving order

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27866289A JPH03141433A (en) 1989-10-27 1989-10-27 Compiler starting system with designation of compiler load module retrieving order

Publications (1)

Publication Number Publication Date
JPH03141433A true JPH03141433A (en) 1991-06-17

Family

ID=17600411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27866289A Pending JPH03141433A (en) 1989-10-27 1989-10-27 Compiler starting system with designation of compiler load module retrieving order

Country Status (1)

Country Link
JP (1) JPH03141433A (en)

Similar Documents

Publication Publication Date Title
JPH04186447A (en) Directory management system
JPH03141433A (en) Compiler starting system with designation of compiler load module retrieving order
JPH07121376A (en) Down load information preparing device
KR100199477B1 (en) Memory saving method and system
JP2611490B2 (en) System operating environment setting device
JPS62115557A (en) Bootloading system of program
JPH04120634A (en) Data processor
JP3019104B2 (en) File processing device
JPH0398120A (en) Update control system for rom
JPH0240748A (en) Output priority level control system
JPH0458334A (en) Message output selection system
JPH02227759A (en) Input/output controller
JP2003288106A (en) Storing method of program files and equipment thereof for multi-series multi-axis numerical control
JPH03121551A (en) Program loading system
JPH11143716A (en) Data processor
JPS62247422A (en) Automatic recognizing system for loading device of program store medium
JPH0887401A (en) Installation processor
JPH01106217A (en) Parallel storage/reading type data processor
JPH11175344A (en) Knowledge base system
JPH03172929A (en) Automatic patch number picking system
JPS626348A (en) File sharing system
JPS63231527A (en) Time series retrieving system
JPH05158760A (en) Migration processing system
JPH02193226A (en) Inserted source program development processor
JPH03282636A (en) Data storing method for execution of test package