Marius Gavrilescu

NAME

gruntmaster-compile - Gruntmaster 6000 compiler frontend

SYNOPSIS

  gruntmaster-compile CPP file.cpp
  gruntmaster-compile JAVA file.java

DESCRIPTION

gruntmaster-compile is a very simple frontend to various comilers. It takes two arguments: the file format and the file name, and produces a compiled executable. The executable's name is the basename of the input file.

Compile commands for each format:

C
  gcc -DONLINE_JUDGE -std=gnu11 -Wall -Wextra -O2 -o $output $input
CPP
  g++ -DONLINE_JUDGE -std=gnu11 -fabi-version=6 -Wall -Wextra -O2 -o $output $input
MONO
  gmcs -d:ONLINE_JUDGE $input
JAVA
  javac $input
PASCAL
  fpc -dONLINE_JUDGE -O2 -n $input
PERL
  cp $input $output
PYTHON
  cp $input $output

AUTHOR

Marius Gavrilescu <marius@ieval.ro>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Marius Gavrilescu

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.