JPH0588860A - Automatic preparing system for procedure file for filing work - Google Patents

Automatic preparing system for procedure file for filing work

Info

Publication number
JPH0588860A
JPH0588860A JP27736491A JP27736491A JPH0588860A JP H0588860 A JPH0588860 A JP H0588860A JP 27736491 A JP27736491 A JP 27736491A JP 27736491 A JP27736491 A JP 27736491A JP H0588860 A JPH0588860 A JP H0588860A
Authority
JP
Japan
Prior art keywords
procedure
file
filing
work
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
JP27736491A
Other languages
Japanese (ja)
Inventor
Mutsuko Kashiwagi
睦子 柏木
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 JP27736491A priority Critical patent/JPH0588860A/en
Publication of JPH0588860A publication Critical patent/JPH0588860A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide an automatic preparing system which can automatically prepare the procedure file for the filing work to describe the content of the work, perform easily and quickly the filing work and further, perform the execution correctly. CONSTITUTION:In a program development system to connect a host machine and a target machine having a function to perform a series of command columns described in the procedure file, the rules are held for a file name and file constitution, a place to perform the compiling procedure in accordance with the rules and a place to perform the link procedure and the starting of the debugging are specified, and the compiling work, the link procedure, the debugger starting and a series of the filing work up to the down-loading to the above- mentioned target machine are described in the procedure file for the filing work.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、ホストマシンとターゲ
ットマシンとが接続されている開発環境におけるファイ
ル化作業用手続きファイルの自動生成方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of automatically generating a procedure file for filing work in a development environment in which a host machine and a target machine are connected.

【0002】[0002]

【従来の技術】従来、ソースファイル修正後、コンパイ
ル、リンクを実行し、デバッガを起動してロードモジュ
ールをダウンロードするという一連のファイル化作業
は、人手を介して行なっていた。
2. Description of the Related Art Conventionally, after a source file is modified, compilation and linking are executed, a debugger is started, and a load module is downloaded.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のファイ
ル化作業では、コンパイル、リンク、デバッガの起動及
びターゲットマシンへのロードモジュールのダウンロー
ドの各作業を行なうホストマシン上の場所(ここで、場
所とはファイル管理する単位、いわゆるディレクトリの
ことを言う)が異なるため、ファイル構成図を見ながら
人手によって行なわなければならず、作業に手間がかか
り、また作業場所を間違える可能性があるという問題点
があった。
In the conventional file conversion work described above, a place (here, place and place) on the host machine where the compile, link, start of the debugger and download of the load module to the target machine are performed. Since the units for managing files, which are so-called directories, are different, it must be done manually while looking at the file configuration diagram, which requires a lot of work, and there is a possibility that the work location may be wrong. there were.

【0004】本発明は、上記問題点にかんがみてなされ
たもので、作業の内容を記述したファイル化作業用手続
きファイルを自動的に生成し、ファイル化作業が容易か
つ迅速に行なえ、さらに正確に実行することができる自
動生成方式の提供を目的とする。
The present invention has been made in view of the above problems, and automatically generates a filing work procedure file in which the contents of work are described, so that filing work can be performed easily and quickly, and more accurately. The purpose is to provide an automatic generation method that can be executed.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明のファイル化作業用手続きファイルの自動生成
方式は、手続きファイルに記述された一連のコマンド列
を実行する機能を有するホストマシンと、ターゲットマ
シンとが接続されているプログラム開発システムにおい
て、ファイル名とファイル構成に規則を持たせ、該規則
に従ってコンパイル手続きを行なう場所とリンク手続き
及びデバッグの起動を行なう場所を特定し、前記コンパ
イル手続き、リンク手続き及びデバッガ起動と前記ター
ゲットマシンにダウンロードするまでの一連のファイル
化作業をファイル化作業用手続きファイルに記述するこ
とを特徴とする。
In order to achieve the above object, a method of automatically generating a procedure file for filing work according to the present invention is a host machine having a function of executing a series of command sequences described in a procedure file. In a program development system connected to a target machine, a file name and a file structure have rules, and a place for performing a compile procedure and a place for activating a link procedure and a debug according to the rules are specified, and the compile procedure is specified. , A link procedure, a debugger activation, and a series of filing operations for downloading to the target machine are described in a filing operation procedure file.

【0006】[0006]

【作用】ソースファイル名、ロードモジュール名及びフ
ァイル構成に規則を持たせ、その規則に従ってコンパイ
ル手続きを行なう場所及びリンク手続きとデバッガ起動
を行なう場所を特定する。そして、コンパイル手続き、
リンク手続き及びデバッガ起動の手続きをファイル化作
業用手続きファイルに記述する。
The source file name, the load module name, and the file structure have rules, and the place where the compile procedure and the link procedure and the debugger start are specified in accordance with the rules. And the compilation procedure,
Describe the link procedure and the procedure for starting the debugger in the file procedure file.

【0007】[0007]

【実施例】以下、本発明の一実施例について図面を参照
して説明する。本発明においては、ソースファイル名、
ロードモジュール名及びファイル構成に一定の規則を持
たせ、その規則に従ってファイル化作業用手続きファイ
ルの生成を行なう。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. In the present invention, the source file name,
A certain rule is given to the load module name and the file structure, and the filing procedure file is generated according to the rule.

【0008】図3にソースファイル及びロードモジュー
ルの命名規則を示す。ここで、ソースファイル名を「X
Xyyyyzzz〜.c」とする。「XX」は大文字2
文字からなり、これがLM(ディレクトリ)名となる。
また、「yyyy」は小文字か数字4文字からなり、こ
れがモジュール(ディレクトリ)名となる。「zzz」
は小文字か数字3文字からなり、これがユニット(ディ
レクトリ)名となる。また、「〜」の部分は特に規定は
ない。「.c」はサフィックスである。
FIG. 3 shows the naming convention of source files and load modules. Here, change the source file name to "X
Xyyyyzzz. c ”. "XX" is capital 2
It consists of characters, and this becomes the LM (directory) name.
Also, "yyyy" is composed of lowercase letters or four numeric characters, and this is the module (directory) name. "Zzz"
Is a lowercase letter or 3 digits, which is the unit (directory) name. Moreover, the part of "-" is not particularly specified. ".C" is a suffix.

【0009】上記モジュール名「yyyy」の先頭3文
字をFB(ディレクトリ)名とする。また、サブシステ
ム(ディレクトリ)名は、FB名「yyy」の第1文字
目を大文字にした名前としている。さらに、ロードモジ
ュール名は、上記LM名「XX」を第1,2文字目とす
る「XX〜_lm」として規定している。ここで、_l
mはサフィックスである。図4にソースファイル及びロ
ードモジュールを探すディレクトリの条件を示す。
The first three characters of the module name "yyyy" are the FB (directory) name. The subsystem (directory) name is the name in which the first letter of the FB name "yyy" is capitalized. Furthermore, the load module name is defined as "XX to _lm" having the LM name "XX" as the first and second characters. Where _l
m is a suffix. FIG. 4 shows the conditions of the directory for searching the source file and the load module.

【0010】上記図3の規則及び図4の条件に従って構
成したファイル構成を図2に示す。ここで、マスタディ
レクトリに直下にファイル化作業用手続きファイルが生
成されている。2はサブシステムディレクトリ、3はリ
ンク手続き及びデバッグを起動するLMディレクトリ、
4はFBディレクトリ、5はモジュールディレクトリ、
また、6はコンパイル手続きを行なうユニットディレク
トリである。
FIG. 2 shows a file structure constructed according to the rules of FIG. 3 and the conditions of FIG. Here, a filed work procedure file is created immediately below the master directory. 2 is the subsystem directory, 3 is the LM directory that activates the link procedure and debug,
4 is an FB directory, 5 is a module directory,
Reference numeral 6 is a unit directory for performing a compilation procedure.

【0011】次に、上記図3及び図4に従って、ファイ
ル化作業用手続きファイルの生成を行なう手順を図1の
フローチャートに示す。まず、ファイル化対象のソース
ファイル名を、図3に示す規則に照し合せ、図4に示す
条件を持つ図2のファイル構成から、ソースファイル及
びロードモジュールが存在する場所(ディレクトリ)を
抽出する(ステップS1)。
Next, according to the above-mentioned FIGS. 3 and 4, the procedure for generating the filing procedure file is shown in the flowchart of FIG. First, the source file name to be filed is checked against the rule shown in FIG. 3, and the location (directory) where the source file and the load module exist is extracted from the file structure shown in FIG. 2 having the conditions shown in FIG. (Step S1).

【0012】具体的には、ファイル化対象のソースファ
イル名の3文字目でサブシステムディレクトリ2を特定
し、3,4,5文字目でFBディレクトリ4を特定し、
3,4,5,6文字目でモジュールディレクトリ5を特
定し、7,8,9文字目でユニットディレクトリ6を特
定し、コンパイル手続きを行なうユニットディレクトリ
6を決定する。次に、ソースファイル名の1,2文字目
でLMディレクトリ3を特定し、リンク手続き及びデバ
ッガを起動するディレクトリを決定する。
Specifically, the subsystem directory 2 is specified by the third character of the source file name to be filed, and the FB directory 4 is specified by the third, fourth, and fifth characters,
The module directory 5 is specified by the 3rd, 4th, 5th, and 6th characters, the unit directory 6 is specified by the 7th, 8th, and 9th characters, and the unit directory 6 for performing the compilation procedure is determined. Next, the LM directory 3 is specified by the first and second characters of the source file name, and the directory for starting the link procedure and the debugger is determined.

【0013】次に、決定したソースファイルが存在する
3ユニットディレクトリ6でコンパイル手続きと、ロー
ドモジュールが存在するLMディレクトリ3でのリンク
手続きをファイル化作業用手続きファイル1に記述する
(ステップS2)。そして、決定したロードモジュール
が存在するLMディレクトリ3でデバッガを起動して、
ロードモジュールをターゲットマシンにダウンロードす
る手続きをファイル化作業用手続きファイル1に記述す
る(ステップS3)。ロードモジュールをターゲットマ
シンにダウンロードする手続きは、デバッガが起動時に
特定のファイルを実行するという機能を利用し、そのフ
ァイルにロードモジュールのターゲットマシンへのダウ
ンロードを記述しておくものとする。以上により、ファ
イル化作業用手続きがファイル1に自動的に生成され
る。
Next, the compile procedure in the 3 unit directory 6 in which the determined source file exists and the link procedure in the LM directory 3 in which the load module exists are described in the filing work procedure file 1 (step S2). Then, start the debugger in the LM directory 3 where the determined load module exists,
The procedure for downloading the load module to the target machine is described in the filed procedure file 1 (step S3). The procedure for downloading the load module to the target machine uses the function that the debugger executes a specific file at startup, and describes the download of the load module to the target machine in that file. As a result of the above, a procedure for filing is automatically generated in the file 1.

【0014】以上、好ましい実施例をあげて本発明を説
明したが、本発明は上記実施例に限定されるものではな
い。例えば、ファイル構成については、図2に示すもの
に限定されず、種々のファイル構成が考えられるのは言
うまでもない。
Although the present invention has been described with reference to the preferred embodiments, the present invention is not limited to the above embodiments. For example, the file structure is not limited to that shown in FIG. 2, and it goes without saying that various file structures can be considered.

【0015】[0015]

【発明の効果】以上説明したように、本発明のファイル
化作業用手続きファイルの自動生成方式は、ソースファ
イル名、ロードモジュール名及びファイル構成に規則を
持たせ、その規則に従って必要とされるファイル化作業
を記述したファイル化作業用手続きファイルを自動的に
作成することにより、ファイル化作業が容易かつ迅速に
行なえ、さらに正確に実行することができる効果が得ら
れる。
As described above, according to the automatic generation method of the filing procedure file of the present invention, the source file name, the load module name, and the file structure have a rule, and the file required according to the rule. By automatically creating a filing operation procedure file in which the filing operation is described, the filing operation can be performed easily and quickly, and more accurately executed.

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

【図1】本発明の一実施例によるファイル化作業用手続
きファイルの作成手順を示すフローチャートである。
FIG. 1 is a flow chart showing a procedure for creating a filing procedure file according to an embodiment of the present invention.

【図2】本発明の一実施例によるファイル化作業用手続
きファイルを作成した後のファイル構成を示す図であ
る。
FIG. 2 is a diagram showing a file structure after creating a filing procedure file according to an embodiment of the present invention.

【図3】ソースファイル及びロードモジュールの命名規
則を示す図である。
FIG. 3 is a diagram showing a naming convention for source files and load modules.

【図4】ソースファイル及びロードモジュールを探すデ
ィレクトリの条件を示す図である。
FIG. 4 is a diagram showing conditions of directories for searching source files and load modules.

【符号の説明】[Explanation of symbols]

1…ファイル化作業用手続きファイル 2…サブシステムディレクトリ 3…LMディレクトリ 4…FBディレクトリ 5…モジュールディレクトリ 6…ユニットディレクトリ 1 ... File processing procedure file 2 ... Subsystem directory 3 ... LM directory 4 ... FB directory 5 ... Module directory 6 ... Unit directory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 手続きファイルに記述された一連のコマ
ンド列を実行する機能を有するホストマシンと、ターゲ
ットマシンとが接続されているプログラム開発システム
において、 ファイル名とファイル構成に規則を持たせ、該規則に従
ってコンパイル手続きを行なう場所とリンク手続き及び
デバッガの起動を行なう場所を特定し、前記コンパイル
手続き、リンク手続き及びデバッガ起動と前記ターゲッ
トマシンにダウンロードするまでの一連のファイル化作
業をファイル化作業用手続きファイルに記述することを
特徴とするファイル化作業用手続きファイルの自動生成
方式。
1. In a program development system in which a host machine having a function of executing a series of command sequences described in a procedure file and a target machine are connected to each other, a rule is given to a file name and a file structure, A place for performing a compile procedure and a link procedure and a place for activating a debugger according to a rule is specified, and a series of filing operations from the compile procedure, the link procedure and the activating the debugger to downloading to the target machine are performed as a filing procedure. A method of automatically creating a procedure file for filing, characterized by being described in a file.
JP27736491A 1991-09-27 1991-09-27 Automatic preparing system for procedure file for filing work Pending JPH0588860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27736491A JPH0588860A (en) 1991-09-27 1991-09-27 Automatic preparing system for procedure file for filing work

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27736491A JPH0588860A (en) 1991-09-27 1991-09-27 Automatic preparing system for procedure file for filing work

Publications (1)

Publication Number Publication Date
JPH0588860A true JPH0588860A (en) 1993-04-09

Family

ID=17582499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27736491A Pending JPH0588860A (en) 1991-09-27 1991-09-27 Automatic preparing system for procedure file for filing work

Country Status (1)

Country Link
JP (1) JPH0588860A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5948503A (en) * 1995-08-30 1999-09-07 Ube Industries, Ltd. Fine fiber reinforced thermoplastic elastomer composition and process for producing same
JP2014206865A (en) * 2013-04-12 2014-10-30 株式会社デンソー Software development device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5948503A (en) * 1995-08-30 1999-09-07 Ube Industries, Ltd. Fine fiber reinforced thermoplastic elastomer composition and process for producing same
JP2014206865A (en) * 2013-04-12 2014-10-30 株式会社デンソー Software development device

Similar Documents

Publication Publication Date Title
JP2927180B2 (en) Debugging method of information processing program and debugger therefor
JPH09259153A (en) Device and method for generating batch execution control program
JP2002196937A (en) Method for compiling assembly language code for instruction set architecture including new instruction using conventional assembler
JPH09212356A (en) System for protecting computer software described in interpreter language
Tilly et al. Ant: the definitive guide
Ramey Bash reference manual
CN111061486B (en) Android application program increment method
JPH0588860A (en) Automatic preparing system for procedure file for filing work
Robbins Bash Pocket Reference: Help for Power Users and Sys Admins
JPH0461380B2 (en)
JP2672968B2 (en) Source list output processing method for debugging
Robbins Bash quick reference
JPH02220145A (en) Program tracing system
JP3114686B2 (en) Program debugging method
JPH06110750A (en) Automatic generating method for make-file of application program capable of accessing related data base
GUIDE intJ
Horan Cross Compile Environment
KR0175469B1 (en) How to control the visibility of fill program variables
JPH0371229A (en) Program controller
JPH0266631A (en) Address table output system using japanese label
O'Flynn Downloading, Installing and Configuring WinAVR
JPS58169637A (en) Compile processing system
Jenkins et al. The Mechanics
JPH0267628A (en) Command start system
Kung An operating systems course project