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.
よろしくお願いします。
No.1ベストアンサー
- 回答日時:
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.
プログラムと言うものは、異種の要素の組み立てだ。
No.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コンパイラはソース文をアセンブリ文に変換する。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
似たような質問が見つかりました
- 英語 できるだけ直訳で英語の翻訳をお願いします。(英語→日本語) 1 2022/10/15 20:59
- 英語 英文の添削をお願いします 4 2023/05/23 11:10
- 戦争・テロ・デモ ウクライナ、メル友に五千円要求されてさ 1 2022/04/02 09:38
- 大学受験 英作文の添削をお願いしたいです。 2 2022/08/19 20:37
- 英語 この英文は平易な反面格調高いですか? 1 2023/01/15 12:04
- TOEFL・TOEIC・英語検定 英検準1級英作文の添削をお願いします。 ポイントはCurriculumとGlobalizationを 4 2023/05/29 11:33
- 英語 この英文は格調高いのでしょうか? 3 2022/06/03 18:55
- 公的扶助・生活保護 保証人? 1 2022/05/17 22:42
- TOEFL・TOEIC・英語検定 With its architecture and gardens and a wealth of 0 2022/12/17 16:11
- TOEFL・TOEIC・英語検定 中学2年生です。 英検2級でこのライティングで何点くらい取れるでしょうか。(16満点) Some p 4 2022/04/01 17:38
関連するカテゴリからQ&Aを探す
医師・看護師・助産師
薬剤師・登録販売者・MR
医療事務・調剤薬局事務
歯科衛生士・歯科助手
臨床検査技師・臨床工学技士
理学療法士・作業療法士・言語聴覚士
臨床心理士・心理カウンセラー・ソーシャルワーカー
介護福祉士・ケアマネージャー・社会福祉士
弁護士・行政書士・司法書士・社会保険労務士
フィナンシャルプランナー(FP)
中小企業診断士
公認会計士・税理士
簿記検定・漢字検定・秘書検定
情報処理技術者・Microsoft認定資格
TOEFL・TOEIC・英語検定
建築士
インテリアコーディネーター
宅地建物取引主任者(宅建)
不動産鑑定士・土地家屋調査士
マンション管理士
電気工事士
美容師・理容師
調理師・管理栄養士・パティシエ
シェフ
保育士・幼稚園教諭
教師・教員
国家公務員・地方公務員
警察官・消防士
その他(職業・資格)
おすすめ情報
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
売上に対して直接かかった費用...
-
スナック(ラウンジ)のオーナー
-
ハンドメイドでのこれからにつ...
-
業務マネジメント。目標設定、...
-
性格適性検査で意図が分からな...
-
Googleフォームのアンケートに...
-
3.75時間が3時間45分ってことは...
-
「述べる」と「論じる」
-
集計した数字の誤りを何と言い...
-
この問題の考え方を教えてほし...
-
数学オリンピックと東大数学ど...
-
1-プロパノールと2-プロパノー...
-
nを自然数とするとき、2n-1と2...
-
-π<θ≦πと0<θ≦πは同じですか?教...
-
カルテ用語・・・
-
2番がわかりません。たぶんある...
-
サイコロを三回振り、出た目を...
-
図積分とはどのような方法ですか?
-
x+2y+3z=xyzを満たす自然数x...
-
スポーツ・クラブ活動・文化活...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
スナック(ラウンジ)のオーナー
-
売上に対して直接かかった費用...
-
ハンドメイドでのこれからにつ...
-
キャバクラに飲みに行ったとき...
-
純利益4億 売上75億
-
5SとPDCAの関係について
-
ホテル売上ランキング
-
最近医院の売上がパソコン上と1...
-
売上が激変した(対処の仕方)
-
自動車販売で売上高22億って儲...
-
会社経営していく中での質問
-
エクセル 列と複数行の入れ替え
-
ネット書店の売上ランキング
-
自分の中でモヤモヤしてるので...
-
売上高物流コストって何?
-
飲食業に関するデータ
-
性格適性検査で意図が分からな...
-
3.75時間が3時間45分ってことは...
-
先日、宿題であかつきという会...
-
Googleフォームのアンケートに...
おすすめ情報