Differences between revisions 1 and 2
Revision 1 as of 2015-10-21 09:14:47
Size: 1306
Editor: GaryBenson
Comment: Initial version
Revision 2 as of 2016-06-06 13:21:31
Size: 40
Editor: GaryBenson
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
I8C is a compiler for [[InfinityNote|Infinity notes]]. It compiles [[I8Language|I8 source]] to object code that can then be linked into executables or shared libraries in the usual way.

Proper documentation is coming soon, but for now see `i8c --help`:
Usage: i8c [OPTION]... [FILE]...

Infinity Note Compiler.

  --help Display this information.
  --version Display version information.
  -E Preprocess only; do not compile, assemble or link.
  -S Compile only; do not assemble or link.
  -c Compile and assemble, but do not link.
             Do not preprocess.
  -o FILE Place the output into FILE.

Note that I8C uses GCC both to preprocess its input (unless invoked
with ‘-fpreprocessed’) and to assemble its output (unless invoked with
‘-E’ or ‘-S’). If GCC is used, all options not explicitly listed
above will be passed to GCC unmodified.

In general I8C operates like GCC, so if you’re used to GCC then I8C
should make sense. Try it!

In most cases the command you want is ‘i8c -c file.i8’, which reads
and compiles ‘file.i8’ and writes the result to ‘file.o’.

Report I8C bugs to infinity@sourceware.org
Infinity home page: <https://sourceware.org/gdb/wiki/Infinity>
See https://infinitynotes.org/wiki/I8C

None: I8C (last edited 2016-06-06 13:21:31 by GaryBenson)

All content (C) 2008 Free Software Foundation. For terms of use, redistribution, and modification, please see the WikiLicense page.