Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Let The Music Play: Join EFF Today

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 67 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




           $ perlcc hello              # Compiles into executable 'a.out'
           $ perlcc -o hello hello.pl  # Compiles into executable 'hello'

           $ perlcc -O file            # Compiles using the optimised C backend
           $ perlcc -B file            # Compiles using the bytecode backend

           $ perlcc -c file            # Creates a C file, 'file.c'
           $ perlcc -S -o hello file   # Creates a C file, 'file.c',
                                       # then compiles it to executable 'hello'
           $ perlcc -c out.c file      # Creates a C file, 'out.c' from 'file'

           $ perlcc -e 'print q//'     # Compiles a one-liner into 'a.out'
           $ perlcc -c -e 'print q//'  # Creates a C file 'a.out.c'

           $ perlcc -I /foo hello      # extra headers (notice the space after -I)
           $ perlcc -L /foo hello      # extra libraries (notice the space after -L)

           $ perlcc -r hello           # compiles 'hello' into 'a.out', runs 'a.out'.
           $ perlcc -r hello a b c     # compiles 'hello' into 'a.out', runs 'a.out'.
                                       # with arguments 'a b c'

           $ perlcc hello -log c       # compiles 'hello' into 'a.out' logs compile
                                       # log into 'c'.


       perlcc creates standalone executables from Perl programs,
       using the code generators provided by the B module. At
       present, you may either create executable Perl bytecode,
       using the "-B" option, or generate and compile C files
       using the standard and 'optimised' C backends.

       The code generated in this way is not guaranteed to work.
       The whole codegen suite ("perlcc" included) should be con­
       sidered very experimental. Use for production purposes is
       strongly discouraged.


       -Llibrary directories
           Adds the given directories to the library search path
           when C code is passed to your C compiler.

       -Iinclude directories
           Adds the given directories to the include file search
           path when C code is passed to your C compiler; when
           using the Perl bytecode option, adds the given direc­
           tories to Perl's include path.

       -o output file name
           Specifies the file name for the final compiled exe­

           finite time and memory, or indeed, at all.

       -v  Increase verbosity of output; can be repeated for more
           verbose output.

       -r  Run the resulting compiled script after compiling it.

           Log the output of compiling to a file rather than to

perl v5.8.1                 2003-09-23                  PERLCC(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds