CCompilerDriver`
CCompilerDriver`

$CCompilerDefaultDirectory

$CCompilerDefaultDirectory

returns the default location for creating output.

更多信息和选项更多信息
  • To use $CCompilerDefaultDirectory, you first need to load it using Needs["CCompilerDriver`"].
  • $CCompilerDefaultDirectory is used by CreateLibrary, CreateExecutable, and CreateObjectFile if the "TargetDirectory" option is set to Automatic.
  • 范例

    基本范例  (1)

    First, load the package:

    In[1]:=
    Click for copyable input

    Find the default location for creating output on this machine:

    In[2]:=
    Click for copyable input
    Out[2]=

    参见

    CreateLibrary  CreateExecutable  CreateObjectFile

    教程