C::TCC - An interface to the TCC(Tiny C Compiler)
use C::TCC; my $tcc = C::TCC->new(); $tcc->compile_string('int main(){printf("Hello World.\n"); return 0;}'); $tcc->run();
The perl module TCC provides an interface to the TCC(Tiny C Compiler) See http://fabrice.bellard.free.fr/tcc/ for more information on TCC.
TCC_OUTPUT_MEMORY
TCC_OUTPUT_EXE
TCC_OUTPUT_DLL
TCC_OUTPUT_OBJ
TCC_OUTPUT_PREPROCESS
TCC(Tiny C Compiler) is created by Fabrice Bellard.
http://fabrice.bellard.free.fr/tcc/
Tsukasa Hamano <hamano@cpan.org>
Copyright (C) 2008 Tsukasa Hamano <hamano@cpan.org>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
To install C::TCC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm C::TCC
CPAN shell
perl -MCPAN -e shell install C::TCC
For more information on module installation, please visit the detailed CPAN module installation guide.