Lava Cross Compiler is a cross compiler built to support any major host platform
Currently they are:
- Windows
- Linux (Might not work haven't tested)
- Macosx (Might not work haven't tested)
- More to come I guess
And will supports linking pe
, elf
and bin
files using x86
, x86_64
, arm32
and arm64
architectures.
And supports disabling unneeded formats and architectures, all with just some arguments passed to Premake5.
Simply download Premake5 and run premake5.exe <action>
where <action>
is one of their supported actions.
If you want LCross to only be able to link PE
or Elf
files use one, or more of the following arguments:
(Note: By default all format's are enabled)
--format-pe
: Makes LCross link pe.exe
files--format-elf
: Makes LCross link elf.o
files--format-bin
: Makes LCross link binary.bin
files
If you want LCross to only be able to compile x86
or arm32
files use one, or more of the following arguments:
(Note: By default all architectures are enabled)
--arch-x86
: Makes LCross compilex86
compile files--arch-x86_64
: Makes LCross compilex86_64
compile files--arch-arm32
: Makes LCross compilearm32
compile files--arch-arm64
: Makes LCross compilearm64
compile files
Extra arguments:
--no-builtin-linker
: Disables builtin linkers in executables apart from llink--no-builtin-assembler
: Disables builtin assemblers in executables apart from lasm
Currently this project is far from done.
Here's a list of things to come:
- Assembler "LASM"
- Linker "LLINK"
- C Compiler "LCC"
- C++ Compiler "LCPP"
A. Yes please :D