/home/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> <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> <H2><A NAME=``quiet''><CODE>--quiet</CODE></A></H2> <P>Don't display anything except for the final configuration.</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> <H2><A NAME=``version''><CODE>--version</CODE></A></H2> <P>Writes the program name, version and path to standard output.</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> <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> ccconfig --cc=`perl -MConfig -e 'print $Config{cc}'` \ -- `perl -MConfig -e 'print $Config{ccflags}'`</PRE> <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> <HR> <H1><A NAME=``see also''>SEE ALSO</A></H1> <P>See <A HREF=``../site/lib/Convert/Binary/C.html''>the Convert::Binary::C manpage</A>.</P> <TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=100%> <TR><TD CLASS=block VALIGN=MIDDLE WIDTH=100% BGCOLOR=``#cccccc''> <FONT SIZE=+1><STRONG><P CLASS=block>&nbsp;ccconfig - Get Convert::Binary::C configuration for a compiler</P></STRONG></FONT> </TD></TR> </TABLE>

</BODY>

</HTML>

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