B::C 5.8.8
Sponsored Links
B::C 5.8.8 Ranking & Summary
File size:
12.2 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
853
Date added:
2007-06-26
Publisher:
Malcolm Beattie
B::C 5.8.8 description
B::C is Perl compilers C backend.
SYNOPSIS
perl -MO=C[,OPTIONS] foo.pl
This compiler backend takes Perl source and generates C source code corresponding to the internal structures that perl uses to run your program. When the generated C source is compiled and run, it cuts out the time which perl would have taken to load and parse your program into its internal semi-compiled form. That means that compiling with this backend will not help improve the runtime execution speed of your program but may improve the start-up time. Depending on the environment in which your program runs this may be either a help or a hindrance.
OPTIONS
If there are any non-option arguments, they are taken to be names of objects to be saved (probably doesnt work properly yet). Without extra arguments, it saves the main program.
-ofilename
Output to filename instead of STDOUT
-v
Verbose compilation (currently gives a few compilation statistics).
--
Force end of options
-uPackname
Force apparently unused subs from package Packname to be compiled. This allows programs to use eval "foo()" even when sub foo is never seen to be used at compile time. The down side is that any subs which really are never used also have code generated. This option is necessary, for example, if you have a signal handler foo which you initialise with $SIG{BAR} = "foo". A better fix, though, is just to change it to $SIG{BAR} = &foo. You can have multiple -u options. The compiler tries to figure out which packages may possibly have subs in which need compiling but the current version doesnt do it very well. In particular, it is confused by nested packages (i.e. of the form A::B) where package A does not contain any subs.
-D
Debug options (concatenated or separate flags like perl -D).
-Do
OPs, prints each OP as its processed
-Dc
COPs, prints COPs as processed (incl. file & line num)
-DA
prints AV information on saving
-DC
prints CV information on saving
-DM
prints MAGIC information on saving
-f
Force options/optimisations on or off one at a time. You can explicitly disable an option using -fno-option. All options default to disabled.
-fcog
Copy-on-grow: PVs declared and initialised statically.
-fsave-data
Save package::DATA filehandles ( only available with PerlIO ).
-fppaddr
Optimize the initialization of op_ppaddr.
-fwarn-sv
Optimize the initialization of cop_warnings.
-fuse-script-name
Use the script name instead of the program name as $0.
-fsave-sig-hash
Save compile-time modifications to the %SIG hash.
-On
Optimisation level (n = 0, 1, 2, ...). -O means -O1.
-O0
Disable all optimizations.
-O1
Enable -fcog.
-O2
Enable -fppaddr, -fwarn-sv.
-llimit
Some C compilers impose an arbitrary limit on the length of string constants (e.g. 2048 characters for Microsoft Visual C++). The -llimit options tells the C backend not to generate string literals exceeding that limit.
SYNOPSIS
perl -MO=C[,OPTIONS] foo.pl
This compiler backend takes Perl source and generates C source code corresponding to the internal structures that perl uses to run your program. When the generated C source is compiled and run, it cuts out the time which perl would have taken to load and parse your program into its internal semi-compiled form. That means that compiling with this backend will not help improve the runtime execution speed of your program but may improve the start-up time. Depending on the environment in which your program runs this may be either a help or a hindrance.
OPTIONS
If there are any non-option arguments, they are taken to be names of objects to be saved (probably doesnt work properly yet). Without extra arguments, it saves the main program.
-ofilename
Output to filename instead of STDOUT
-v
Verbose compilation (currently gives a few compilation statistics).
--
Force end of options
-uPackname
Force apparently unused subs from package Packname to be compiled. This allows programs to use eval "foo()" even when sub foo is never seen to be used at compile time. The down side is that any subs which really are never used also have code generated. This option is necessary, for example, if you have a signal handler foo which you initialise with $SIG{BAR} = "foo". A better fix, though, is just to change it to $SIG{BAR} = &foo. You can have multiple -u options. The compiler tries to figure out which packages may possibly have subs in which need compiling but the current version doesnt do it very well. In particular, it is confused by nested packages (i.e. of the form A::B) where package A does not contain any subs.
-D
Debug options (concatenated or separate flags like perl -D).
-Do
OPs, prints each OP as its processed
-Dc
COPs, prints COPs as processed (incl. file & line num)
-DA
prints AV information on saving
-DC
prints CV information on saving
-DM
prints MAGIC information on saving
-f
Force options/optimisations on or off one at a time. You can explicitly disable an option using -fno-option. All options default to disabled.
-fcog
Copy-on-grow: PVs declared and initialised statically.
-fsave-data
Save package::DATA filehandles ( only available with PerlIO ).
-fppaddr
Optimize the initialization of op_ppaddr.
-fwarn-sv
Optimize the initialization of cop_warnings.
-fuse-script-name
Use the script name instead of the program name as $0.
-fsave-sig-hash
Save compile-time modifications to the %SIG hash.
-On
Optimisation level (n = 0, 1, 2, ...). -O means -O1.
-O0
Disable all optimizations.
-O1
Enable -fcog.
-O2
Enable -fppaddr, -fwarn-sv.
-llimit
Some C compilers impose an arbitrary limit on the length of string constants (e.g. 2048 characters for Microsoft Visual C++). The -llimit options tells the C backend not to generate string literals exceeding that limit.
B::C 5.8.8 Screenshot
B::C 5.8.8 Keywords
C 5.8.8
SIG
Your Program
perl compilers
Perl
c
options
backend
program
compilers
B
B::C 5.8.8
Libraries
Programming
Bookmark B::C 5.8.8
B::C 5.8.8 Copyright
WareSeeker periodically updates pricing and software information of B::C 5.8.8 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of B::C 5.8.8 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
perlane
options publishing
la perla
صور بنات عاريات صور عرات صور سكس options
backend productions
perlina handbags
perl tutorial
options mastercard
perlembagaan malaysia
perlini silver
backend of forever lyrics
optionsxpress
options hotline
stock options
backend process
what is perlite
perla
perlitz ranch
Version History
Related Software
B::CC is Perl compilers optimized C translation backend. Free Download
c2ph, pstruct is a Perl module that can dump C structures as generated from cc -g -S stabs. Free Download
Fcntl is a Perl module to load the C Fcntl.h defines. Free Download
B::Bblock - Walk basic blocks. Free Download
Opcode is a Perl module created to disable named opcodes when compiling perl code. Free Download
Socket, sockaddr_in, sockaddr_un, inet_aton, inet_ntoa is a Perl module to load the C socket.h defines and structure manipulator Free Download
Benchmark is a Perl module with benchmark running times of Perl code. Free Download
B::Concise is a Perl syntax tree, printing concise info about ops. Free Download
Latest Software
Popular Software
Favourite Software