C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Convert-Binary-C\blib/html/bin/ccconfig.html


C&lt;--pp-ext&gt;</pre> <p>This option is used along with <code>--basename</code> to build the name of a preprocessor output file.</p> <pre>

C&lt;--obj-ext&gt;</pre> <p>This option is used along with <code>--basename</code> to build the name of an object file.</p> <pre>

C&lt;--exe-ext&gt;</pre> <p>This option is used along with <code>--basename</code> to build the name of an executable file.</p> <pre>

C&lt;--nodelete&gt;</pre> <p>Don't attempt to delete temporary files that have been created by the compiler. Normally, <code>ccconfig</code> will look for all files with the same basename as the temporary test file and delete them.</p> <p> </p> <h2><a name=``__norun''><code>--norun</code></a></h2> <p>You can specify this option if the executables generated by your compiler cannot be run on your machine, i.e. if you have a cross-compiler. However, <code>ccconfig</code> will automatically find out that it cannot run the executables.</p> <p>When this option is set, a different set of algorithms is used to determine a couple of configuration settings. These algorithms are all based upon placing a special signature in the object file. They are less reliable that the standard algorithms, so you shouldn't use them unless you have to.</p> <p> </p> <h2><a name=``__quiet''><code>--quiet</code></a></h2> <p>Don't display anything except for the final configuration.</p> <p> </p> <h2><a name=``__nostatus''><code>--nostatus</code></a></h2> <p>Hide the status indicator. Recommended if you want to redirect the script output to a file:</p> <pre> ccconfig --nostatus &gt;config.pl 2&gt;ccconfig.log</pre> <p> </p> <h2><a name=``__version''><code>--version</code></a></h2> <p>Writes the program name, version and path to standard output.</p> <p> </p> <h2><a name=``__debug''><code>--debug</code></a></h2> <p>Generate tons of debug output. Don't use unless you know what you're doing.</p> <p> </p> <hr /> <h1><a name=``examples''>EXAMPLE/a</h1> <p>Normally, a simple</p> <pre> ccconfig</pre> <p>without arguments is enough if you want the configuration for your system compiler. While <code>ccconfig</code> is running, it will write lots of status information to <code>stderr</code>. When it's done, it will usually dump a Perl hash table to <code>stdout</code> which can be directly used as a configuration for Convert::Binary::C.</p> <p>If you want the configuration for a different compiler, or <code>ccconfig</code> cannot determine your system compiler automatically, use</p> <pre> ccconfig -c gcc32</pre> <p>if your compiler's name is <code>gcc32</code>.</p> <p>If you want to pass additional options to the compiler, you can do so after a double-dash on the command line:</p> <pre> ccconfig -- -g -DDEBUGGING</pre> <p>or</p> <pre> ccconfig -c gcc32 -- -ansi -fshort-enums</pre> <p>If you'd like to interface with the Perl core, you may find a suitable configuration using something like:</p> <pre> <span class=``variable''>ccconfig</span> <span class=``operator''>--</span><span class=``variable''>cc</span><span class=``operator''>=</span><span class=``string''>`perl -MConfig -e 'print </span><span class=``variable''>$Config</span><span class=``string''>{cc}'`</span> <span class=``operator''>\</span> <span class=``operator''>--</span> <span class=``string''>`perl -MConfig -e 'print </span><span class=``variable''>$Config</span><span class=``string''>{ccflags}'`</span> </pre> <p> </p> <hr /> <h1><a name=``copyright''>COPYRIGHT</a></h1> <p>Copyright (c) 2002-2006 Marcus Holland-Moritz. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.</p> <p> </p> <hr /> <h1><a name=``see_also''>SEE ALSO</a></h1> <p>See <a href=``..//cpanrun/depot/main/contrib-patched/perl/CPAN/src/Convert-Binary-C/blib/html/site/lib/Convert/Binary/C.html''>the Convert::Binary::C manpage</a>.</p>

</body>

</html>

 C:\cpanrun\depot\main\contrib-patched\perl\CPAN\src\Convert-Binary-C\blib/html/bin/ccconfig.html