ウィキのコピーミラー

これは pascal.chat のウィキのミラーです。編集、履歴、ログインはそちらで行います。

IDE Window: Compiler Options/ja

Deutsch · English · Español · Français · Русский · 日本語

Paths

Other Unit Files

プロジェクトまたはパッケージの Pascal ユニット(.ppu, .pp, .pas, .p) のサーチパスです。どのプロジェクト/パッケージのものかはウィンドウのタイトルをご覧下さい。このパスは FreePascal コンパイラに渡され、ユニットのパスに追加されます。

Include Files

インクルードファイル( .inc, .lrs files)のサーチパスです。ここに指定したパスは、コンパイラ指令 {$I filename.inc} または {$INCLUDE filename.inc} によって指定される Include Path に付け加える形で FreePascal コンパイラに渡されます。

Other sources

ここには Pascal ユニットのソースに対するサーチパスを指定しますが、このパスはコンパイラには渡されず、もっぱら IDE によって用いられます。

例: あるソースとそれに対応する .ppu を別のディレクトリに置いてあるとします。ここで.ppuのディレクトリを 'Other Unit Files' に、.pasのディレクトリを 'Other sources' パスに加えます。すると、コンパイラは .ppu ファイルを使え、しかもそれを毎度毎度リビルドしようとはしません。しかも、IDE からはソースファイルが見えますので、Find Declaration 機能が使えます。

Libraries

This is the search path for libraries (.dll or .so or .a files).

Unit output directory

This is directory, where the compiler will put all output, like .ppu, .o, .rst files.

Note: Packages normally inherited their output directory via the 'usage' options.

Debugger path addition

These directories are added to the search path of the IDE debugger, when it searches for sources (units and include files).

LCL widget type

This is the used LCL widget set. Normally the default widget set is used. If you want to try another or you are cross compiling, set here another widget set.

Parsing

See Free Pascal - Online documentation

Syntax mode

Choose the default mode. If a unit does not contain a {$mode somemode} directive, this is used as the default.

See Free Pascal - Online documentation

Syntax Options

Assembler style

Code

See Free Pascal - Online documentation

Linking

See Free Pascal - Online documentation

Messages

See Free Pascal - Online documentation. Note that adding a lot of verbosity slows down the parsing of the compiler output much, even if most of the messages will be hidden in the messages view.

Other

See Free Pascal - Online documentation

Inherited

This page shows all the compiler options inherited from packages. Packages inherit options via their 'usage' options.

The topmost node shows all inherited options, that is the sum of all used packages.

The nodes below show the inherited options of each use package.

Compilation

Create Makefile

Enable this, if the IDE should create a Makefile and a Makefile.fpc before each build. This is currently only supported for packages, not for projects.

Execute before

Setup here a command to execute before running the compiler.

Call on:

The IDE can parse and filter the output of the command and stop on errors. Check the boxes for which messages the IDE should watch.

Compiler

This is compiler path used by the project or package. Default is the macro $(CompPath), which is replaced with the compiler filename in the environment options.

Execute after

Setup here a command to execute after running the compiler. See above 'Execute before' for details.

Buttons

Test

This will run various test and detects common configurations mistakes. For fpc 2.2.0 it will warn about some double units. The warnings are correct, but you can ignore them, if you don't use these units.

Show Options

Opens a dialog and presents the current command line parameters.

Load/Save

Opens a dialog to save and/or load the current compiler options from/to a xml file.

Ok

This will apply the changes and then exit the dialog.

Cancel

This will undo all changes and exits the dialog.


From the Free Pascal wiki, page "IDE Window: Compiler Options/ja", as it stood on 2015-07-02 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

第1版、最終更新:WikiArchive 。