プロが教えるわが家の防犯対策術!

In the chapter we begin by outlining the basic processes you need to go

through in order to compile your C programs. We then prceed to formally

describe the C compilation model and also how C supports additional

libraries.

As you know,first we must have a source code that is written in C,and we

translate the C instructions into machine instructions.Then preprocessor

accepts source code as input and is responsible for removing comments and

interpreting special directives. After that,the C compiler translates source

code into assembly code. Next,the assembler creates program code(type of

file is in object code) from assembly code.

Most C program consist of functions that are not intrinsic to the C

translator. Functions have to be defined somewhere. Some functions are

defined in the program code; some functions are defined in standard

libraries-the library code; and some functions are defined in user files-the

user code. Both types of file are in object code,and are called LIBRARIES.

The object code file corresponding to the original source code will be

designated the program code.The object code file(s) that are standard

libraries will be designated the library code. The object code file(s) that

are converted source code (previously compiled by the user) will be

designated the user code. The linker combines these three codes.

An executable program is produced by linking together three distinct types

of object code program. It is clear that the program is an assembly of

disparate elements.

よろしくお願いします。

A 回答 (2件)

1)


In the chapter
その章の中で、

we begin by outlining the basic processes
我々は、基本的なプロセスの概要を述べることから始める、

you need to go through in order to compile your C programs.
あなたのCプログラムをコンパイルするために全てやる必要の
あるプロセスの事だ。

2)
We then proceed to formally describe the C compilation model
その後で、Cコンパイルモデルを公式的に記述するために先に進む。

and also how C supports additional libraries.
またCが追加的ライブラリーを利用可能にしている方法も記述する。

3)
As you know,
ご存知の通り

first we must have a source code that is written in C,
まず、我々はCで書かれたソース文を持たなければいけない。

and we translate the C instructions into machine instructions.
そして、Cで書かれた命令を機械語に翻訳しなければいけない

4)
Then preprocessor accepts source code as input
そうして、プリプロセッサーはCソース文を入力として受け入れる。

and is responsible for removing comments and interpreting special directives.
(プリプロセッサーは)注釈部を除去し、特殊な指示語を翻訳する責務を負う。

5)
After that,
その後

the C compiler translates source code into assembly code.
Cコンパイラはソース文をアセンブリ文に変換する。
    • good
    • 0

the C compiler translates source code into assembly code.


Cコンパイラはソース文をアセンブリ文に変換する。

6)
Next, the assembler creates program code
次に アセンブラーはプログラムコードを作り上げる

(type of file is in object code)
(ファイルタイプはオブジェクトコードに属する)

from assembly code.
アセンブリ文から。

7)
Most C program consist of functions
ほとんどのCプログラムは複数の関数で構成される

that are not intrinsic to the C translator.
但し、その関数はそのC翻訳機に元々備わっているものではない

8)
Functions have to be defined somewhere.
関数はどこかで定義されなければならない

9)
Some functions are defined in the program code;
幾つかの関数はプログラム文内で定義される、

some functions are defined in standard libraries
幾つかの関数は標準関数の中で定義される。

-the library code; and some functions are defined in user files-
ライブラリの事であり、中にはユーザーがファイルで定義する物もある

the user code.
これがユーザーコードだ。

10)
Both types of file are in object code, and are called LIBRARIES.
両タイプのファイルはオブジェクトコードで書かれており
ライブラリーと呼ばれる。

11)
The object code file corresponding to the original source code
もともとのソース文に一致するオブジェクトコードファイルは

will be designated the program code.
プログラムコードと命名される。

12)
The object code file(s) that are standard libraries
標準ライブラリーであるオブジェクトコードファイルは

will be designated the library code.
ライブラリーコードと命名される

13)
The object code file(s) that are converted source code
ソースコードを変換したオブジェクトコードファイルは

(previously compiled by the user)
(事前にユーザーによってコンパイルされたものだが)

will be designated the user code.
ユーザーコードと命名される

14)
The linker combines these three codes.
リンカーはこれら3つのコードを合体させる

15)
An executable program is produced
実行可能プログラムは作り上げられる、

by linking together three distinct types of object code program.
3つの異なるタイプのオブジェクトコードファイルを結合することにより。


16)
It is clear that
明白な事だが

the program is an assembly of disparate elements.
プログラムと言うものは、異種の要素の組み立てだ。
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!