JPH03209519A - Program generating method - Google Patents

Program generating method

Info

Publication number
JPH03209519A
JPH03209519A JP419290A JP419290A JPH03209519A JP H03209519 A JPH03209519 A JP H03209519A JP 419290 A JP419290 A JP 419290A JP 419290 A JP419290 A JP 419290A JP H03209519 A JPH03209519 A JP H03209519A
Authority
JP
Japan
Prior art keywords
program
file
environment
operating system
generated
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
JP419290A
Other languages
Japanese (ja)
Inventor
Shoichi Kawabata
河端 章一
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP419290A priority Critical patent/JPH03209519A/en
Publication of JPH03209519A publication Critical patent/JPH03209519A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To obtain an accurate program by checking the contents of an environment defining file and selecting one of plural files for each of modules forming the program. CONSTITUTION:The contents of an environment defining file 31 are checked by an installing program INSTALL 27, and the name of a module file is obtained from a generation table 61. Thus an operator can automatically obtain a desired program 54 without giving any instruction to the program INSTALL 27 and furthermore has no fear to produce the discordance between the environment of an operating system and the obtained program 54. Thus the accurate program 54 is obtained.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、複数のモジュールから構成されるプログラム
を生成するインストールプログラムにおいて、生成する
プログラムが動作するオペレーティングシステムの環境
に依存して生成するのに必要な各モジュールについて複
数のファイルから最適なファイルを選択しプログラムを
生成する場合におけるプログラム生成方法に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention provides an installation program that generates a program consisting of a plurality of modules. This invention relates to a program generation method in which a program is generated by selecting an optimal file from a plurality of files for each module necessary for the program.

[従来の技術] 従来、プログラムを構成しているモジュールの全部ある
いは一部が、生成されたプログラムが動作するオペレー
ティングシステムの環境に依存する場合、その依存する
モジュールに関しては複数のモジュールファイルが存在
しており、従って、プログラムを生成する場合、そのプ
ログラムが動作するオペレーティングシステム環境を例
えばメニュー形式で選択し、或は、インストールプログ
ラム起動時にパラメータを与えることによってインスト
ールプログラムに指示し、各モジュールごとにどのモジ
ュールファイルをプログラム生成に使用するかを決定し
て、プログラム生成を行なっていた。
[Prior Art] Conventionally, when all or part of the modules constituting a program depends on the environment of the operating system on which the generated program runs, multiple module files exist for the dependent modules. Therefore, when creating a program, you can select the operating system environment in which the program will run, for example in a menu format, or instruct the installation program by giving parameters when starting the installation program, and select which operating system environment to run for each module. The program was generated after determining whether to use the module file for program generation.

[発明が解決しようとする課題] 前記従来技術によれば、プログラムの生成を行なう場合
、その行なうオペレーターは、その生成するプログラム
が動作するオペレーティングシステムの環境内容を予め
把握しておき、インストールブ[lグラムがメニュー形
式なとて質問してくる項目に応答するか、さもなければ
インストールプログラムを起動する際にパラメータを与
える必要があり、生成の時間がかかるといった問題点が
あった。又、その指定項目と、オペレーティングシステ
ム環境が1対lに明確に対応していない場合などは、専
門的な知識が必要となり、特に最近はかな漢字変換方式
やメモリ管理シスデム等が複雑多岐にわたるため、オペ
レーティングシステムに詳しい者の介助が必要であると
いった問題があった。
[Problems to be Solved by the Invention] According to the above-mentioned conventional technology, when generating a program, the operator who performs the generation grasps in advance the environment contents of the operating system on which the program to be generated runs, and installs the installed program. There was a problem in that it was necessary to respond to the items asked by the l-gram in a menu format, or otherwise provide parameters when starting the installation program, which took time to generate. In addition, in cases where there is no clear one-to-one correspondence between the specified items and the operating system environment, specialized knowledge is required. There were problems such as the need for assistance from someone familiar with the operating system.

さらに、誤った指定をインストールプログラムに指示し
た場合、オペレーティングシステムの環境に適さないプ
ログラムが生成され、そのプログラムの動作効率が低下
するか、又は動作すらしない等の障害が発生し、この場
合は再度プログラムの生成をし直すか又は、既に生成し
たプログラムにオペレーティングシステムの環境を合わ
せるように環境定義ファイルの内容を変更する必要があ
った。
Furthermore, if an incorrect specification is given to the installation program, a program that is not suitable for the operating system environment will be generated, resulting in problems such as a decrease in the operating efficiency of the program, or failures such as not even operating. It was necessary to regenerate the program or change the contents of the environment definition file to match the operating system environment to the already generated program.

本発明では、プログラムを生成する際にインストールプ
ログラムにオペレーターがオペレーティングシステムの
環境等を指示し無くとも自動的にプログラム生成を行な
うことを目的とする。
An object of the present invention is to automatically generate a program without the operator having to instruct the installation program about the operating system environment and the like.

[i5題を解決するための手段] 本発明は、複数のモジュールから構成されるプログラム
において、前記プログラムを構成する複数のモジュール
の各ファイル内容が、前記プログラムの動作するオペレ
ーティングシステムの環境に依存して異なり、そのため
に前記モジュールの各々に対してファイルが複数個存在
しており、前記プログラムを動作させる前記オペレーテ
ィングシステムに適したプログラムを生成するために、
前記プログラムが動作するオペレーティングシステムの
環境定義情報を格納している環境定義ファイルの内容を
調べ、前記プログラムを構成する各モジュールについて
前記複数ファイルの中のどのファイルを用いるかを選択
して前記プログラムを生成する、ことを特徴とする。
[Means for Solving Problem i5] The present invention provides a program consisting of a plurality of modules, in which the contents of each file of the plurality of modules constituting the program depend on the environment of the operating system on which the program operates. Therefore, a plurality of files exist for each of the modules, and in order to generate a program suitable for the operating system that runs the program,
Check the contents of an environment definition file that stores environment definition information of the operating system on which the program runs, select which file from the plurality of files to use for each module that makes up the program, and run the program. It is characterized by generating.

[作用コ 本発明によれば、プログラム生成のためのインストール
プログラムにパラメータを指定しなくとも生成するプロ
グラムが動作するオペレーティングシステムの環境に最
適なモジュールファイルを干れぞれ選択し、プログラム
を生成するインストールプログラムが得られる。
[Operations] According to the present invention, the program can be generated by selecting the module file most suitable for the operating system environment in which the program to be generated runs without specifying any parameters to the installation program for program generation. You will get an installation program.

[実施例] 以下に具体的実施例を第1図〜第6図に基づいて説明す
る。
[Example] Specific examples will be described below based on FIGS. 1 to 6.

第1図は生成するプログラムの一般的なモジュール構成
を示しており、システムAll、システムB12、かな
漢字変換機能をサポートするかな漢字変換ドライバ13
、メモリ管理機能をサポートするメモリ管理ドライバ1
4から成り立っている。
Figure 1 shows the general module configuration of the program to be generated, including System All, System B12, and Kana-Kanji conversion driver 13 that supports the Kana-Kanji conversion function.
, memory management driver 1 that supports memory management functions
It is made up of 4.

第2図はプログラムをインストールするためのインスト
ールディスク20の内容を示したもので、システムAl
lに対応するファイルsystemA21、システムB
12に対応するファイルsystemB22、かな漢字
変換ドライバ13に対応したかな漢字変換方式をサポー
トする2種類のドライバファイルKNJABC,DRV
23とKNJLMN、DRV24、メモリ管理ドライバ
14に対応したメモリ管理方式をサポートする2種類の
ドライバファイルMEMEGF’、DRV25とMEM
XYZ、DRV26、プログラムを生成するインストー
ルプログラムlN5TALL27がそれぞれ格納されて
いる。
Figure 2 shows the contents of the installation disk 20 for installing programs.
Files system A21 and system B corresponding to l
Two types of driver files KNJABC and DRV that support the Kana-Kanji conversion method, the file systemB22 that supports Kana-Kanji conversion driver 12, and the Kana-Kanji conversion method that supports Kana-Kanji conversion driver 13.
Two types of driver files MEMEGF', DRV25 and MEM that support memory management methods compatible with 23 and KNJLMN, DRV24, and memory management driver 14.
XYZ, DRV26, and an installation program IN5TALL27 for generating programs are stored respectively.

第3図は生成するプログラムを動作させるオペレーティ
ングシステムの環境を定義する環境定義ファイル3Iの
内容を示しており、ここではかな漢字変換方式にABC
方式を用い、メモリ管理方式にXYZという方式をそれ
ぞれ用いることを定義している。オペレーティングシス
テムが最初に起動するときは、この環境定義ファイル3
1を参照して第5図で示されるようにオペレーティング
システム51上でA、BC方式のかな漢字変換方式53
とXYZ方式のメモリ管理52が動作する。
Figure 3 shows the contents of the environment definition file 3I that defines the environment of the operating system that runs the generated program.
It is defined that the XYZ method is used as the memory management method. When the operating system starts for the first time, this environment definition file 3
1, as shown in FIG.
The XYZ system memory management 52 operates.

生成されるプログラム54はこの環境上で動作するよう
に適切なモジュールファイルを用いて生成される必要が
ある。
The generated program 54 needs to be generated using appropriate module files to operate on this environment.

次に第4図で示すフローチャー1・に従って、インスト
ールプログラムlN5TALL27がプログラム54を
生成する様子を述べる。
Next, a description will be given of how the installation program 1N5TALL 27 generates the program 54 according to the flowchart 1 shown in FIG.

インストールプログラム1NsTALL27が起動され
ると、まず処理41を行なう。処理41ではオペレーテ
ィングシステムの環境を定義している環境定義ファイル
31の内容を読み込み、その内容を解析する。ここで、
環境定義ファイル31の第1行目の”KANJ I=A
BC”から、かな漢字変換方式をかABC方式であり、
第2行目の”MEMORY=XYZ”から、メモリ管球
方式がXYZ方式であると判断する。
When the installation program 1NsTALL 27 is started, processing 41 is performed first. In process 41, the contents of the environment definition file 31 that defines the environment of the operating system are read and the contents are analyzed. here,
"KANJ I=A" in the first line of the environment definition file 31
BC", the kana-kanji conversion method is the ABC method,
From "MEMORY=XYZ" in the second line, it is determined that the memory tube system is the XYZ system.

次にインストールプログラムlN5TALL27は処理
42を実行し、生成テーブル61を読み込む。
Next, the installation program IN5TALL 27 executes process 42 and reads the generation table 61.

次に、処理43を実行して、処理42で読み込んだ生成
テーブル61からオペレーティングシステムの環境と生
成に使用するべきモジュールファイル名の対応間係を調
べ、かな漢字変換ドライバ13としてファイル名KNJ
ABC,DRV62を、メモリ管理ドライバ14として
ファイル名MEMXYZ、D’RV63をそれぞれ得る
Next, execute process 43 to check the correspondence between the operating system environment and the module file name to be used for generation from the generation table 61 read in process 42, and select the file name KNJ as the kana-kanji conversion driver 13.
ABC, DRV62 are obtained as the memory management driver 14, and file names MEMXYZ, D'RV63 are obtained, respectively.

この後処理44を実行し、プログラム54を生成するイ
ンストールプログラムI N5TALL27はディスク
20からシステムAll用にファイルs y s t 
ernA21を、システムB12用にファイルsyst
emB22を、かな漢字変換ドライバ13用ニフアイル
KNJANC,DRVを、メモリ管理ドライバ14用に
、ファイルMEMXYZ、DRVをそれぞれ読み込む。
The installation program IN5TALL27 executes this post-processing 44 and generates the program 54.
ernA21 to file syst for system B12
emB22, the files KNJANC and DRV for the kana-kanji conversion driver 13, and the files MEMXYZ and DRV for the memory management driver 14, respectively.

最後に処理45で、読み込んだモジュールファイルを1
つに結合して、プログラム54として書き込み、終了す
る。
Finally, in process 45, the loaded module file is 1
, and is written as a program 54, and the process ends.

[発明の効果] 以上に述べたごとく、本発明によればインストールプロ
グラムlN5TALL27が環境定義ファイル31の内
容を調べ、生成テーブル61から生成するべきモジュー
ルファイル名を得ることによって、プログラム54を生
成しようとするオペレータはインストールプログラムl
N5TALL27に指示を与え漸くとも自動的にプログ
ラムが生成できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, the installation program IN5TALL 27 examines the contents of the environment definition file 31 and attempts to generate the program 54 by obtaining the name of the module file to be generated from the generation table 61. The operator must run the installation program
This has the effect that a program can be automatically generated by giving instructions to the N5TALL 27.

又、オペレーティングシステムの環境と生成したプログ
ラムが不一致になるという恐れがなくなり正確なプログ
ラム生成が可能となる。
Furthermore, there is no fear that the operating system environment and the generated program will be inconsistent, and accurate program generation becomes possible.

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

第1図は本発明による生成するプログラムの一般的なモ
ジュール構成のレイアウト図、第2図は本発明の生成の
ためのディスクのファイルレイアウトを示す図、 第3図はオペレーティングシステムの環境定義ファイル
の図、 第4図は本発明によるシステム生成の様子を示したフロ
ーチャート、 第5図は生成するプログラムとオペレーティングシステ
ムの関係を示した図、 第6図は、生成テーブルの図である。 11〜14・・・生成するプログラムを構成しているモ
ジュール、 23・・・かな漢字変換方式ABCに対応したかな漢字
変換ドライバファイル、 26・・・メモリ管理方式XYZに対応しメモリ管理ド
ライバファイル、 31・・・環境定義ファイル、 4I・・・インストールプログラムのフローチャート、 54・・・生成するプログラム、 61・・・生成するプログラム54とオベレーティング
システム環境の対応テーブル 以 上
Fig. 1 is a layout diagram of a general module configuration of a program to be generated according to the present invention, Fig. 2 is a diagram showing a file layout of a disk for generation according to the present invention, and Fig. 3 is a diagram showing an environment definition file of an operating system. 4 is a flowchart showing how the system is generated according to the present invention, FIG. 5 is a diagram showing the relationship between the program to be generated and the operating system, and FIG. 6 is a diagram of the generation table. 11-14...Modules configuring the program to be generated, 23...Kana-Kanji conversion driver file compatible with the Kana-Kanji conversion method ABC, 26...Memory management driver file compatible with the memory management method XYZ, 31. ...Environment definition file, 4I...Flowchart of installation program, 54...Program to be generated, 61...Correspondence table between program 54 to be generated and operating system environment.

Claims (1)

【特許請求の範囲】[Claims] 複数のモジュールから構成されるプログラムにおいて、
前記プログラムを構成する複数のモジュールの各ファイ
ル内容が、前記プログラムの動作するオペレーティング
システムの環境に依存して異なり、そのために前記モジ
ュールの各々に対してファイルが複数個存在しており、
前記プログラムを動作させる前記オペレーティングシス
テムに適したプログラムを生成するために、前記プログ
ラムが動作するオペレーティングシステムの環境定義情
報を格納している環境定義ファイルの内容を調べ、前記
プログラムを構成する各モジュールについて前記複数フ
ァイルの中のどのファイルを用いるかを選択して前記プ
ログラムを生成する、ことを特徴とするプログラム生成
方法。
In a program consisting of multiple modules,
The contents of each file of a plurality of modules constituting the program differ depending on the environment of an operating system in which the program operates, and therefore a plurality of files exist for each of the modules,
In order to generate a program suitable for the operating system on which the program runs, the contents of an environment definition file that stores environment definition information for the operating system on which the program runs are examined, and each module constituting the program is generated. A program generation method characterized in that the program is generated by selecting which file to use from the plurality of files.
JP419290A 1990-01-11 1990-01-11 Program generating method Pending JPH03209519A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP419290A JPH03209519A (en) 1990-01-11 1990-01-11 Program generating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP419290A JPH03209519A (en) 1990-01-11 1990-01-11 Program generating method

Publications (1)

Publication Number Publication Date
JPH03209519A true JPH03209519A (en) 1991-09-12

Family

ID=11577836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP419290A Pending JPH03209519A (en) 1990-01-11 1990-01-11 Program generating method

Country Status (1)

Country Link
JP (1) JPH03209519A (en)

Similar Documents

Publication Publication Date Title
US7197743B2 (en) Method for generating computer software for embedded systems
KR960029974A (en) Processing information management apparatus
JPH06348766A (en) Method and device for incorporating tool
JPH03209519A (en) Program generating method
JP6794668B2 (en) Programming device
JP5177082B2 (en) Development support device, program
JP2008033913A (en) Program development support apparatus for plc
JPH06110733A (en) Test case generating device of program
JP2012093979A (en) Osgi bundle and deployment package automatic creation system, automatic creation method and automatic creation tool
JP2009157534A (en) Programming support system, its programmable controller support device, and programmable indicator support device
JPH045703A (en) Sequence program generating device
KR100269172B1 (en) Script file generator for hard disk master manufacturing system
JPH01205332A (en) Linkage editor system
JPH0219923A (en) System for constituting system resident volume
JPH09251378A (en) Method and device for updating class library
JPH0561662A (en) Method and device for controlling execution of program parts
JPH0991173A (en) Execution history display method for program
JPH0588860A (en) Automatic preparing system for procedure file for filing work
JPH0581004A (en) Automatic document generation system
JPH0367330A (en) Producing device for interactive design back-up system
JPH01136241A (en) Program link system
JPH1040082A (en) Method and device for managing production process
JPH08190473A (en) Program flowchart reference system
JPH01155593A (en) Rom writer device control system
JPS60254239A (en) Object file conversion control system