JPH05241798A - Lm generating process sytem under library information control - Google Patents

Lm generating process sytem under library information control

Info

Publication number
JPH05241798A
JPH05241798A JP7309692A JP7309692A JPH05241798A JP H05241798 A JPH05241798 A JP H05241798A JP 7309692 A JP7309692 A JP 7309692A JP 7309692 A JP7309692 A JP 7309692A JP H05241798 A JPH05241798 A JP H05241798A
Authority
JP
Japan
Prior art keywords
library
information
input
module
symbol
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
JP7309692A
Other languages
Japanese (ja)
Inventor
Kazuaki Obara
一晃 小原
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 JP7309692A priority Critical patent/JPH05241798A/en
Publication of JPH05241798A publication Critical patent/JPH05241798A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To speed up the linking process of the LM generating process system under the library information control by outputting information on library retrieval to an object by a compiler. CONSTITUTION:In a library maintenance process, in-library symbol definition reference constitution information is outputted to a library LIB. In a compiling process, information is inputted from the library LIB to generate linking-time library input member information, which is outputted to the object. In a linking process, the information in the object is referred to and a library member direct input means LK3 inputs members directly required for the linking process from the library LIB to generate a load module LM.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータ・システ
ムにおいて、ソースモジュールを入力し、1個のロード
モジュールを生成するロードモジュール生成処理方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load module generation processing system for inputting a source module and generating one load module in a computer system.

【0002】[0002]

【従来の技術】従来、ロードモジュール生成処理におけ
るリンク処理においては、コンパイラが出力したオブジ
ェクトモジュールを入力し、まず、それに含まれている
外部名の参照と定義に対して、同じ名前の参照と定義を
関連付けて解決処理を行う。そして、その結果解決され
ずに残ってしまった参照に対しては、割り当てられてい
るユーザライブラリやシステムライブラリを検索し、そ
のライブラリ中に解決の対象となる定義が存在すれば、
その定義を含むオブジェクトモジュールをライブラリか
ら入力し、その後で再び解決処理を行うという、基本的
には未解決の参照が無くなるまでライブラリの検索と解
決処理を繰り返すといった処理が行われていた。つま
り、一度コンパイルされたオブジェクトモジュールを再
リンクしようとする場合にも、その度にライブラリの検
索を行っていたわけである。
2. Description of the Related Art Conventionally, in link processing in load module generation processing, an object module output by a compiler is input, and first, reference and definition of an external name included in the input object module are performed. Are associated with each other to perform a resolution process. As a result, for references that have not been resolved, the assigned user library or system library is searched, and if the definition to be resolved exists in that library,
The object module containing the definition is input from the library, and then the resolving process is performed again. Basically, the process of searching and resolving the library is repeated until there are no unresolved references. In other words, even when trying to relink an object module that was once compiled, the library was searched each time.

【0003】あるいは、ライブラリの検索を行わない場
合には、不必要なオブジェクトモジュールも含めて、ラ
イブラリ内の全オブジェクトモジュールをリンクしてし
まうといった処理が行われていた。
Alternatively, when the library is not searched, a process of linking all object modules in the library including unnecessary object modules has been performed.

【0004】[0004]

【発明が解決しようとする課題】このように、ライブラ
リから入力してリンクする必要のあるオブジェクトモジ
ュールを検索するという処理を、リンク処理の中に閉じ
て行っていたために、リンク処理においては、必ずライ
ブラリの検索を行わなければならなかった。従って、ラ
イブラリの検索と解決処理の繰り返す回数が増えるほど
リンク処理が遅くなるという欠点があった。
As described above, since the process of searching for an object module that needs to be linked by inputting from the library is closed in the link process, the link process must be performed without fail. I had to do a library search. Therefore, there is a drawback in that the link processing becomes slower as the number of times the library search and the solution processing are repeated increases.

【0005】また、一度コンパイルされたオブジェクト
モジュールを再リンクする場合には、毎回同じオブジェ
クトモジュールをライブラリから入力してリンクするこ
とになるにも関わらず、その度にライブラリの検索を行
ってから入力するという一種の無駄な処理が入るという
欠点があった。
In the case of relinking an object module that has been compiled once, although the same object module is input from the library and linked each time, the library is searched each time and then input. There was a drawback that a kind of useless processing of doing was entered.

【0006】また、ライブラリの検索を行わずに、ライ
ブラリ内の全オブジェクトモジュールをリンクする場合
には、リンク処理は速くなるが、生成されるロードモジ
ュールが必要以上に大きくなってしまうという欠点があ
った。
Further, when all the object modules in the library are linked without searching the library, the linking process becomes faster, but there is a drawback that the load module generated becomes larger than necessary. It was

【0007】本発明は、上述の欠点を解決したライブラ
リ情報管理によるLM生成処理方式を提供するものであ
る。
The present invention provides an LM generation processing method by library information management that solves the above-mentioned drawbacks.

【0008】[0008]

【課題を解決するための手段】本発明のライブラリ情報
管理によるLM生成処理方式は、現在ライブラリに登録
されているメンバの情報を入力する既登録メンバ情報入
力手段と、新規に登録するメンバを入力する新規登録メ
ンバ入力手段と、新規に登録するメンバ及び削除するメ
ンバの情報を生成する新規登録・削除メンバ情報生成手
段と、既登録メンバ情報と新規登録・削除メンバ情報か
ら、新たな全メンバ情報を生成する全メンバ情報生成手
段と、ある定義名を持つシンボル定義とそれを含むメン
バの情報との対応情報及び、あるメンバにある参照シン
ボルとそれを解決する定義シンボルを持ったメンバの情
報との対応情報を生成するライブラリ内シンボル定義参
照構成情報生成手段と、ライブラリ内シンボル定義参照
構成情報をコンパイラへ渡すために、ライブラリへ出力
するライブラリ内シンボル定義参照構成情報出力手段
と、新規登録メンバ及び全メンバ情報をライブラリへ出
力する新規登録メンバ・全メンバ情報出力手段から構成
されるライブラリメンテナンス処理及び、ソースモジュ
ールを入力するソースモジュール入力手段と、入力した
ソースプログラムを解析し、定義参照シンボル情報を生
成する定義参照シンボル情報生成手段と、ライブラリか
らライブラリ内シンボル定義参照構成情報を入力するラ
イブラリ内シンボル定義参照構成情報入力手段と、作成
した定義参照シンボル情報と入力したライブラリ内シン
ボル定義参照構成情報から、本オブジェクトモジュール
がリンク時にライブラリから入力を必要とするメンバに
関する情報を生成するリンク時ライブラリ入力メンバ情
報生成手段と、オブジェクトモジュールを生成するオブ
ジェクトモジュール生成手段と、生成したオブジェクト
モジュールを出力するオブジェクトモジュール出力手段
から構成されるコンパイル処理及び、オブジェクトモジ
ュールを入力するオブジェクトモジュール入力手段と、
入力されたオブジェクトモジュールに含まれているリン
ク時ライブラリ入力メンバ情報を検索するリンク時ライ
ブラリ入力メンバ情報検索手段と、リンク時ライブラリ
入力メンバ情報に従って、ライブラリから直接メンバ
(オブジェクトモジュール)を入力するライブラリメン
バ直接入力手段と、入力された外部名の参照と定義とを
関連付けて解決を行う外部名解決手段と、1個のロード
モジュールを生成するロードモジュール生成手段と、生
成したロードモジュールを出力するロードモジュール出
力手段から構成されるリンク処理を備えるライブラリ情
報管理によるLM生成処理方式である。
According to the LM generation processing method by library information management of the present invention, the registered member information input means for inputting the information of the members currently registered in the library and the newly registered member are inputted. New registered member input means, new registered / deleted member information generating means for generating information on newly registered members and deleted members, and new all member information from already registered member information and newly registered / deleted member information And all the member information generating means for generating, the correspondence information between the symbol definition having a certain definition name and the information of the member including the symbol definition, and the reference symbol of a certain member and the information of the member having the definition symbol that solves it. Comparing the in-library symbol definition reference configuration information with the in-library symbol definition reference configuration information generation means for generating the corresponding information of Library maintenance processing, which is composed of in-library symbol definition reference configuration information output means for outputting to library, and newly registered member / all member information output means for outputting newly registered members and all member information to library. , Source module input means for inputting a source module, definition reference symbol information generation means for analyzing the input source program and generating definition reference symbol information, and symbol in library for inputting in-library symbol definition reference configuration information from a library From the definition reference configuration information input means and the created definition reference symbol information and the entered symbol definition reference configuration information in the library, this object module generates information about the members that need input from the library when linking. And Li input member information generating means, and an object module generation means for generating an object module, compiled consists object module output means for outputting the generated object module processing and an object module input means for inputting an object module,
Link-time library input member information searching means for searching for link-time library input member information contained in the input object module, and library member for directly inputting a member (object module) from the library according to the link-time library input member information Direct input means, external name resolution means for performing resolution by associating the input reference and definition of the external name, load module generation means for generating one load module, and load module for outputting the generated load module This is an LM generation processing method by library information management including a link processing composed of output means.

【0009】[0009]

【実施例】以下、本発明について、図面を用いて説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0010】第1図は、本発明の一実施例であり、既登
録メンバ情報入力手段 LB1、新規登録メンバ入力手
段 LB2、新規登録・削除メンバ情報生成手段 LB
3、全メンバ情報生成手段 LB4、ライブラリ内シン
ボル定義参照構成情報生成手段 LB5、ライブラリ内
シンボル定義参照構成情報出力手段 LB6、メンバ及
び全メンバ情報出力手段 LB7から構成されるライブ
ラリメンテナンス処理、ソースモジュール入力手段 C
1、定義参照シンボル情報生成手段 C2、ライブラリ
内シンボル定義参照構成情報入力手段 C3、リンク時
ライブラリ入力メンバ情報生成手段 C4、オブジェク
トモジュール生成手段 C5、オブジェクトモジュール
出力手段 C6から構成されるコンパイル処理、オブジ
ェクトモジュール入力手段 LK1、リンク時ライブラ
リ入力メンバ情報検索手段 LK2、ライブラリメンバ
直接入力手段 LK3、外部名解決手段 LK4、ロー
ドモジュール生成手段 LK5、ロードモジュール出力
手段 LK6から構成されるリンク処理、そして、新規
登録メンバファイル IN、ライブラリ LIB、ソー
スモジュール SM、オブジェクトモジュール OM、
ロードモジュール LMから構成される。
FIG. 1 shows an embodiment of the present invention, in which already registered member information input means LB1, newly registered member input means LB2, newly registered / deleted member information generation means LB.
3, all member information generation means LB4, in-library symbol definition reference configuration information generation means LB5, in-library symbol definition reference configuration information output means LB6, member and all member information output means LB7 Library maintenance processing, source module input Means C
1. Compile processing and object composed of definition reference symbol information generating means C2, in-library symbol definition reference configuration information input means C3, link time library input member information generating means C4, object module generating means C5, object module output means C6 Link processing composed of module input means LK1, library input member information retrieval means at link LK2, library member direct input means LK3, external name resolution means LK4, load module generation means LK5, load module output means LK6, and new registration Member file IN, library LIB, source module SM, object module OM,
It consists of load module LM.

【0011】まず、ライブラリメンテナンス処理から説
明する。
First, the library maintenance process will be described.

【0012】既登録メンバ情報入力手段 LB1によっ
て、現在ライブラリ LIBに登録されているメンバに
関する情報を入力する。このメンバ情報には、メンバの
ライブラリ内の位置、メンバの大きさ、そのメンバに含
まれている参照と定義のシンボル名などが含まれてい
る。続いて、新規登録メンバ入力手段 LB2によっ
て、新規登録メンバファイル INから、登録するメン
バを入力し、新規登録・削除メンバ情報生成手段 LB
3により、新たに登録または削除するメンバに関する情
報を生成する。次に、全メンバ情報生成手段 LB4に
よって、既登録メンバ情報と新規登録・削除メンバ情報
とを組合せ、最終的にライブラリ LIBへ出力する全
メンバに関する情報を生成する。そして、メンバ及び全
メンバ情報出力手段 LB7により、新規登録メンバと
全メンバに関する情報をライブラリLIBに出力する。
Registered member information input means LB1 is used to input information about members currently registered in the library LIB. This member information includes the position of the member in the library, the size of the member, the symbol name of the reference and definition contained in the member, and the like. Subsequently, the member to be registered is input from the newly registered member file IN by the newly registered member input means LB2, and the newly registered / deleted member information generation means LB
By 3, the information about the member to be newly registered or deleted is generated. Next, the all-member information generation means LB4 combines the already-registered member information and the newly-registered / deleted member information, and finally generates information about all the members to be output to the library LIB. Then, the member and all-member information output means LB7 outputs information about the newly registered member and all members to the library LIB.

【0013】一方、LB4によって生成された全メンバ
情報から、ライブラリ内シンボル定義参照構成情報生成
手段 LB5によって、ライブラリ内メンバに含まれる
参照と定義のシンボルがどの様に構成され、関連付けら
れているかという情報を生成する。本情報は、コンパイ
ラ側へ渡すためにライブラリへ出力する情報であり、大
きく分けて以下の二点について明示された情報である。
On the other hand, based on all the member information generated by LB4, how the in-library symbol definition reference configuration information generating means LB5 configures and associates the reference and definition symbols contained in the in-library member. Generate information. This information is information to be output to the library in order to pass it to the compiler side, and is roughly categorized into the following two points.

【0014】一つは、ライブラリ内メンバに含まれるシ
ンボル定義名とそれを含むメンバのライブラリ内におけ
る位置及び、大きさを対応させたテーブル情報である。
One is table information in which the symbol definition name included in the member in the library and the position and size of the member including the symbol definition name in the library are associated with each other.

【0015】もう一つには、ライブラリ内メンバに含ま
れるシンボル参照が、解決の対象となるシンボル定義を
含んだライブラリ内他メンバに関する情報(ライブラリ
内位置、大きさ)の一覧テーブルである。
The other is a list table of information (in-library position, size) about other members in the library including symbol definitions to be resolved, as symbol references included in the in-library members.

【0016】この二点に関する情報をコンパイラ側が参
照することにより、リンク時にライブラリから入力が必
要となる全メンバについての情報を作成することができ
ることになる。
By referring to the information on these two points on the side of the compiler, it is possible to create information on all members that need to be input from the library at the time of linking.

【0017】そして、ライブラリ内シンボル定義参照構
成情報出力手段 LB6によって、同情報をライブラリ
LIBへ出力する。以上がライブラリメンテナンス処
理についての説明である。
Then, the in-library symbol definition reference configuration information output means LB6 outputs the same information to the library LIB. The above is the description of the library maintenance process.

【0018】続いて、コンパイル処理について説明す
る。
Next, the compiling process will be described.

【0019】まず、ソースモジュール入力手段 C1に
より、ソースモジュール SMを入力する。次に、定義
参照シンボル情報生成手段 C2により、ソースモジュ
ール内に含まれている定義参照シンボルの一覧表を生成
する。
First, the source module SM is input by the source module input means C1. Next, the definition reference symbol information generating means C2 generates a list of definition reference symbols included in the source module.

【0020】一方、ライブラリ内シンボル定義参照構成
情報入力手段 C3によって、前述のライブラリメンテ
ナンス処理で生成されライブラリ LIBに出力された
ライブラリ内シンボル定義参照構成情報を入力する。そ
こで、C2によって生成された定義参照シンボルの一覧
表とライブラリ LIBから入力されたライブラリ内シ
ンボル定義参照構成情報から、リンク時ライブラリ入力
メンバ情報生成手段C4により、本ソースプログラムが
リンク時にライブラリ LIBから入力が必要となる全
メンバについての情報(入力が必要となる全メンバのラ
イブラリ内位置と大きさ)を生成する。
On the other hand, the in-library symbol definition reference configuration information input means C3 inputs the in-library symbol definition reference configuration information generated in the library maintenance process and output to the library LIB. Therefore, from the list of definition reference symbols generated by C2 and the symbol definition reference configuration information in the library input from the library LIB, the link-time library input member information generation means C4 inputs this source program from the library LIB at the time of linking. Generates information (locations and sizes in the library of all members that require input) for all members that require.

【0021】次に、オブジェクトモジュール生成手段
C5により、オブジェクトモジュールを生成し、その
際、C4により生成されたリンク時ライブラリ入力メン
バ情報をオブジェクトモジュール内に埋め込んでおく。
Next, object module generation means
An object module is generated by C5, and at this time, the link-time library input member information generated by C4 is embedded in the object module.

【0022】そして、オブジェクトモジュール出力手段
C6によって、生成したオブジェクトモジュール O
Mをファイルへ出力する。
Then, the object module O generated by the object module output means C6
Output M to a file.

【0023】続いて、リンク処理について説明する。Next, the link process will be described.

【0024】まず、オブジェクトモジュール入力手段
LK1によって、オブジェクトモジュール OMを入力
する。次に、リンク時ライブラリ入力メンバ情報検索手
段LK2により、入力されたオブジェクトモジュール内
に含まれている情報、つまり本オブジェクトモジュール
がリンク時にライブラリから入力する必要のある全メン
バの情報を取り出す。そして、その情報を利用して、ラ
イブラリメンバ直接入力手段 LK3により、ライブラ
リ LIBから入力が必要な全メンバをダイレクトに入
力する。その後で、外部名解決手段 LK4により、定
義シンボルと参照シンボルの解決処理を行う。ここで、
リンク時にライブラリから入力を必要とするメンバにつ
いては、全て入力を済ましていることになるので、ライ
ブラリに対する未解決参照シンボルは全て解決される。
従って、この後でライブラリLIBの検索を行う必要は
なく、ロードモジュール生成手段 LK5により、ロー
ドモジュールを生成する。最後に、ロードモジュール出
力手段 LK6によって、ロードモジュール LMをフ
ァイルへ出力する。
First, object module input means
Input the object module OM by LK1. Next, the link-time library input member information retrieval means LK2 retrieves the information contained in the input object module, that is, the information of all the members that this object module needs to input from the library at the time of linking. Using this information, the library member direct input means LK3 directly inputs all the required members from the library LIB. After that, the external name solving means LK4 performs resolution processing of the definition symbol and the reference symbol. here,
All the unresolved reference symbols for the library are resolved because all the members that require input from the library at the time of linking have already been input.
Therefore, it is not necessary to search the library LIB after this, and the load module is generated by the load module generation means LK5. Finally, the load module output means LK6 outputs the load module LM to a file.

【0025】[0025]

【発明の効果】以上説明したように、本発明では、コン
パイラが、出力するオブジェクトモジュール内に、リン
ク時に入力が必要となる全てのライブラリメンバに関す
る情報(各メンバのライブラリ内位置とその大きさ)を
埋め込むことにより、ライブラリから入力してリンクす
る必要のあるオブジェクトモジュールを検索するという
処理を、リンク処理の中から完全に削除している。
As described above, in the present invention, the compiler outputs information about all library members that need to be input at the time of linking in the object module to be output (the position of each member in the library and its size). By embedding, the processing of inputting from the library and searching for an object module that needs to be linked is completely deleted from the link processing.

【0026】従って、リンク処理において、未解決の参
照シンボルが無くなるまで、外部名の解決処理とライブ
ラリの検索処理を繰り返すという一連の処理が無くなる
ため、リンク処理の高速化が図られる。
Therefore, in the linking process, a series of processes of repeating the process of resolving the external name and the process of searching the library are eliminated until the unresolved reference symbols are eliminated, so that the linking process can be sped up.

【0027】また、一度コンパイルしたオブジェクトモ
ジュールを再リンクするといった場合にも、従来はリン
ク処理の度に、同じメンバをライブラリから入力するこ
とがわかっているにも関わらず、一からライブラリの検
索を行うという一種の無駄な処理が行われていたが、本
発明のように、一度オブジェクトモジュールの中にライ
ブラリ入力メンバ情報を出力しておけば、上記のような
無駄な処理を行わなくて済むといった利点がある。
In the case of relinking an object module that has been compiled once, it is known from the beginning that the same member is input from the library each time the linking process is performed, but the library is searched from the beginning. Although a kind of useless process of performing is performed, once the library input member information is output to the object module as in the present invention, the useless process as described above is not required. There are advantages.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

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

LB1 既登録メンバ情報入力手段 LB2 新規登録メンバ入力手段 LB3 新規登録・削除メンバ情報生成手段 LB4 全メンバ情報生成手段 LB5 ライブラリ内シンボル定義参照構成情報生成手
段 LB5 LB6 ライブラリ内シンボル定義参照構成情報出力手
段 LB6 LB7 メンバ及び全メンバ情報出力手段 C1 ソースモジュール入力手段 C2 定義参照シンボル情報生成手段 C3 ライブラリ内シンボル定義参照構成情報入力手段 C4 リンク時ライブラリ入力メンバ情報生成手段 C5 オブジェクトモジュール生成手段 C6 オブジェクトモジュール出力手段 LK1 オブジェクトモジュール入力手段 LK2 リンク時ライブラリ入力メンバ情報検索手段 LK3 ライブラリメンバ直接入力手段 LK4 外部名解決手段 LK5 ロードモジュール生成手段 LK6 ロードモジュール出力手段 IN 新規登録メンバファイル LIB ライブラリ SM ソースモジュール OM オブジェクトモジュール LM ロードモジュール
LB1 Registered member information input means LB2 Newly registered member input means LB3 Newly registered / deleted member information generation means LB4 All member information generation means LB5 Library symbol definition reference configuration information generation means LB5 LB6 Library symbol definition reference configuration information output means LB6 LB7 member and all member information output means C1 source module input means C2 definition reference symbol information generation means C3 library symbol definition reference configuration information input means C4 link time library input member information generation means C5 object module generation means C6 object module output means LK1 Object module input means LK2 Library input member information search means at linking LK3 Library member direct input means LK4 External name resolution means LK5 Load module Tool generation means LK6 load module output means IN newly registered member file LIB library SM source module OM object module LM load module

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 ソースモジュールから、1個のロードモ
ジュールを生成するロードモジュール生成処理におい
て、 現在ライブラリに登録されているメンバの情報を入力す
る既登録メンバ情報入力手段と、 新規に登録するメンバを入力する新規登録メンバ入力手
段と、 新規に登録するメンバ及び削除するメンバの情報を生成
する新規登録・削除メンバ情報生成手段と、 既登録メンバ情報と新規登録・削除メンバ情報から、新
たな全メンバ情報を生成する全メンバ情報生成手段と、 ある定義名を持つシンボル定義とそれを含むメンバの情
報との対応情報及び、あるメンバにある参照シンボルと
それを解決する定義シンボルを持ったメンバの情報との
対応情報(以下、ライブラリ内シンボル定義参照構成情
報と称する)を生成するライブラリ内シンボル定義参照
構成情報生成手段と、 ライブラリ内シンボル定義参照構成情報をコンパイラへ
渡すために、ライブラリへ出力するライブラリ内シンボ
ル定義参照構成情報出力手段と、 新規登録メンバ及び全メンバ情報をライブラリへ出力す
る新規登録メンバ・全メンバ情報出力手段から構成され
るライブラリメンテナンス処理を備えることを特徴とす
るライブラリ情報管理によるLM生成処理方式。
1. In a load module generation process for generating one load module from a source module, a registered member information input means for inputting information of members currently registered in the library and a member to be newly registered are provided. New registered member input means for inputting, new registered / deleted member information generating means for generating information on newly registered members and deleted members, and all new members from already registered member information and newly registered / deleted member information Correspondence information between all member information generating means for generating information, the symbol definition having a certain definition name and the information of the member containing it, and the reference symbol of a certain member and the information of the member having the definition symbol for solving it. In the library that generates correspondence information (hereinafter referred to as in-library symbol definition reference configuration information) VOL definition reference configuration information generating means, output means to the library for outputting the symbol definition reference configuration information in the library to the compiler, and output newly registered members and all member information to the library An LM generation processing method by library information management, characterized by comprising a library maintenance processing including a newly registered member / all member information output means.
【請求項2】 ソースモジュールから、1個のロードモ
ジュールを生成するロードモジュール生成処理におい
て、 ソースモジュールを入力するソースモジュール入力手段
と、 入力したソースプログラムを解析し、定義参照シンボル
情報を生成する定義参照シンボル情報生成手段と、 ライブラリからライブラリ内シンボル定義参照構成情報
を入力するライブラリ内シンボル定義参照構成情報入力
手段と、 作成した定義参照シンボル情報と入力したライブラリ内
シンボル定義参照構成情報から、本オブジェクトモジュ
ールがリンク時にライブラリから入力を必要とするメン
バに関する情報(以下、リンク時ライブラリ入力メンバ
情報と称する)を生成するリンク時ライブラリ入力メン
バ情報生成手段と、 オブジェクトモジュールを生成するオブジェクトモジュ
ール生成手段と、 生成したオブジェクトモジュールを出力するオブジェク
トモジュール出力手段から構成されるコンパイル処理を
備えることを特徴とするライブラリ情報管理によるLM
生成処理方式。
2. In a load module generation process for generating one load module from a source module, source module input means for inputting a source module and a definition for analyzing the input source program and generating definition reference symbol information. This symbol is created from the reference symbol information generation means, the in-library symbol definition reference configuration information input means for inputting the in-library symbol definition reference configuration information from the library, the created reference definition symbol information and the input in-library symbol definition reference configuration information. A link-time library input member information generating means for generating information about members that need to be input from the library when the module is linked (hereinafter referred to as link-time library input member information), and an object module generation object. And E transfected module generation means, LM by library information management characterized by comprising a composed compilation from object module output means for outputting the generated object modules
Generation processing method.
【請求項3】 ソースモジュールから、1個のロードモ
ジュールを生成するロードモジュール生成処理におい
て、 オブジェクトモジュールを入力するオブジェクトモジュ
ール入力手段と、 入力されたオブジェクトモジュールに含まれているリン
ク時ライブラリ入力メンバ情報を検索するリンク時ライ
ブラリ入力メンバ情報検索手段と、 リンク時ライブラリ入力メンバ情報に従って、ライブラ
リから直接メンバ(オブジェクトモジュール)を入力す
るライブラリメンバ直接入力手段と、 入力された外部名の参照と定義とを関連付けて解決を行
う外部名解決手段と、 1個のロードモジュールを生成するロードモジュール生
成手段と、 生成したロードモジュールを出力するロードモジュール
出力手段から構成されるリンク処理を備えることを特徴
とするライブラリ情報管理によるLM生成処理方式。
3. In a load module generation process for generating one load module from a source module, an object module input means for inputting an object module and link time library input member information included in the input object module. Link-time library input member information search means for searching for, library member direct input means for directly inputting a member (object module) from the library according to the link-time library input member information, and reference and definition of the input external name. An external name solving means for associating and solving, a load module generating means for generating one load module, and a load module outputting means for outputting the generated load module are provided, and a link process is provided. LM generation processing method by library information management.
JP7309692A 1992-02-26 1992-02-26 Lm generating process sytem under library information control Pending JPH05241798A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7309692A JPH05241798A (en) 1992-02-26 1992-02-26 Lm generating process sytem under library information control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7309692A JPH05241798A (en) 1992-02-26 1992-02-26 Lm generating process sytem under library information control

Publications (1)

Publication Number Publication Date
JPH05241798A true JPH05241798A (en) 1993-09-21

Family

ID=13508465

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7309692A Pending JPH05241798A (en) 1992-02-26 1992-02-26 Lm generating process sytem under library information control

Country Status (1)

Country Link
JP (1) JPH05241798A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010225099A (en) * 2009-03-25 2010-10-07 Canon Inc Information processing apparatus, method for controlling the same, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010225099A (en) * 2009-03-25 2010-10-07 Canon Inc Information processing apparatus, method for controlling the same, and program

Similar Documents

Publication Publication Date Title
US20040049768A1 (en) Method and program for compiling processing, and computer-readable medium recoding the program thereof
DE69525915T2 (en) Method and device for generating platform-standardized, machine-independent code containing object files
US5652899A (en) Software understanding aid for generating and displaying simiplified code flow paths with respect to target code statements
Fischer et al. Abstract syntax trees-and their role in model driven software development
US20040010780A1 (en) Method and apparatus for approximate generation of source code cross-reference information
Abramson et al. Implementation techniques for a parallel relative debugger
JPH05241798A (en) Lm generating process sytem under library information control
JPH08263299A (en) Method for converting program
JPH10187461A (en) Language processing system
US6948159B2 (en) Automatic compilation of electronic telecommunications system message generation code
JPH0667871A (en) Automatic program updating system
JPH0683597A (en) Object oriented program development device and object oriented program development method
JP5726108B2 (en) Editing apparatus and editing method
JPH06161773A (en) Generating device for parallel processing program
JP2002259121A (en) Source line debagging device
JPH03144832A (en) Symbolic debugging device for precompiler language program
JP2022054354A (en) Program conversion system and program conversion method
JPH08328841A (en) Software generating device
JPH0795275B2 (en) Compile processor
CN114217817A (en) Automatic optimization method for error-controllable mixed precision operator
JPH03282826A (en) Parallel conversion translating system
JPH0468436A (en) Automatic compile and link device
JPH0371229A (en) Program controller
JPH05197529A (en) Link information investigation device and relinkage execution device
JP2000132405A (en) In-line expansion processing device and method