Support for compiling until assembler, before invoking the linker (eg. gcc -c).
Basic support for displaying relocation informations.
Currently only used in c/c++/d and may/will propagate to other compilers later.
fixes#3222
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
... until we have a fix for either:
- calling gcc to drive the link
- don't link to get an object file
Downcase CLANG name, no need to shout.
refs #4408
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
Add 3 latest clang version aliases + trunk to BPF target.
Use `llvm-objdump` for clang compilers and binutils' one for the GCC compiler (unfortunately, this can't be changed by the user in the UI).
refs #4408
The way that jakt calls out to a C++ compiler to compile the C++ source
files it generates is sensitive to which compiler compiled its runtime
library. Rather than using clang-trunk, use the same compiler that was
used in misc-builder: gcc-12.1.0. This does cause a warning or two, as
it seems gcc 12.1.0 doesn't implement [[unlikely]] yet, but that's
better than not being able to link executables at all.
This issue will likely come up again if the compiler used in
misc-builder to build the jakt compiler changes.
If we don't have a `.git` directory during build, then don't try and run `git` commands to get e.g. history and last changed for policy files and changelog.
Closes#4497
* Don't try and hack the compilation results
Carbon tried to synthesize "having run" by overriding and hacking a result routine...but did so _after_ it had been cached. So cached results were broken, but live results not.
This "fixes" by adding a post-compilation, but pre-cache hook and uses that instead. Naming is terrible.
I also took the time to fix the `CompilationResult`'s `buildResult`
Closes#4426
gccrs is still in heavy dev and to avoid anyone missing this crucial info, it
has introduced a very explicit option and required option:
-frust-incomplete-and-experimental-compiler-do-not-use
The compiler emits a very verbose error if this option is missing.
refs https://github.com/Rust-GCC/gccrs/pull/1540
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
* Converted amd64 docs to ts
* 6502
* 6502 part 2
* arm
* avr
* evm
* java
* llvm
* python
* Fix bug with only getting the first paragraph
* Updated help messages
`rustfilt` ended up at a different path for me, and the "absolute path as compiler name" compatibility kludge seems not to work anymore.
(Also, this way it matters less where rustc is installed.)