A Perl Alien module for the Tiny C Compiler. This Perl distribution distributes and contains the build steps necessary to ensure that the Tiny C Compiler is available on your system.
I assume that if you are installing this module, you are doing so from CPAN. The usual Module::Build incantation shold work:
perl Build.PL ./Build ./Build test ./Build install
On Windows, you should omit the ./ part of the Build commands.
./
Build
If you want to work on Alien::TCC itself, be sure to not only clone the repository but also clone the src/ directory, i.e. the tcc source repository. Thus on your command line, you should say something like this:
git clone https://github.com/run4flat/Alien-TinyCC.git cd Alien-TinyCC git submodule init git submodule update
This distribution distributes the source for the Tiny C Compiler project under the src/ directory, for which the following notice is in effect:
* Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE.
The Alien::TCC Perl module itself is distributed under the same terms as Perl itself.
To install Alien::TinyCC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::TinyCC
CPAN shell
perl -MCPAN -e shell install Alien::TinyCC
For more information on module installation, please visit the detailed CPAN module installation guide.