回答編集履歴

1

追記

2017/07/27 12:35

投稿

mosapride
mosapride

スコア1480

test CHANGED
@@ -13,3 +13,107 @@
13
13
 
14
14
 
15
15
  [https://www.freepascal.org/down/x86_64/linux-austria.var](https://www.freepascal.org/down/x86_64/linux-austria.var)
16
+
17
+
18
+
19
+
20
+
21
+ 追記
22
+
23
+
24
+
25
+ rootで実行してます。
26
+
27
+ sh install.sh実行時にディレクトリ等聞いてきますが全部デフォルト(Enterのみ)でインストール
28
+
29
+
30
+
31
+ あと、パスカルは扱ったことありません。
32
+
33
+
34
+
35
+ ```
36
+
37
+ /// バージョンはcentos6.9
38
+
39
+ # cat /etc/redhat-release
40
+
41
+ CentOS release 6.9 (Final)
42
+
43
+
44
+
45
+
46
+
47
+ /// 初期ではwgetが無いので入れる
48
+
49
+ # yum -y install wget
50
+
51
+ /// ダウンロード
52
+
53
+ # wget ftp://freepascal.stack.nl/pub/mirrors/fpc/dist/3.0.2/x86_64-linux/fpc-3.0.2.x86_64-linux.tar
54
+
55
+ ///tarボールを解凍
56
+
57
+ # tar xvf fpc-3.0.2.x86_64-linux.tar
58
+
59
+ /// 解凍したディレクトリに移動
60
+
61
+ # cd fpc-3.0.2.x86_64-linux
62
+
63
+ /// インストール
64
+
65
+ # sh install.sh
66
+
67
+
68
+
69
+ /// fpcコマンドをたたいてみる
70
+
71
+ # fpc
72
+
73
+ Free Pascal Compiler version 3.0.2 [2017/02/05] for x86_64
74
+
75
+ Copyright (c) 1993-2016 by Florian Klaempfl and others
76
+
77
+ /usr/bin/fpc [options] <inputfile> [options]
78
+
79
+ Only options valid for the default or selected platform are listed.
80
+
81
+ Put + after a boolean switch option to enable it, - to disable it.
82
+
83
+ @<x> Read compiler options from <x> in addition to the default fpc.cfg
84
+
85
+ -a The compiler does not delete the generated assembler file
86
+
87
+ -al List sourcecode lines in assembler file
88
+
89
+ -an List node info in assembler file (-dEXTDEBUG compiler)
90
+
91
+ -ao Add an extra option to external assembler call (ignored for internal)
92
+
93
+ -ap Use pipes instead of creating temporary assembler files
94
+
95
+ -ar List register allocation/release info in assembler file
96
+
97
+ -at List temp allocation/release info in assembler file
98
+
99
+ -A<x> Output format:
100
+
101
+ -Adefault Use default assembler
102
+
103
+ -Aas Assemble using GNU AS
104
+
105
+ -Agas Assemble using GNU GAS
106
+
107
+ -Agas-darwin Assemble darwin Mach-O64 using GNU GAS
108
+
109
+ -Amasm Win64 object file using ml64 (Microsoft)
110
+
111
+ -Apecoff PE-COFF (Win64) using internal writer
112
+
113
+ -Aelf ELF (Linux-64bit) using internal writer
114
+
115
+ -Ayasm Assemble using Yasm (experimental)
116
+
117
+ *** press enter ***
118
+
119
+ ```