Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Luukdegram/cld
Linker for the Coff/PE file format
https://github.com/Luukdegram/cld
Last synced: 3 months ago
JSON representation
Linker for the Coff/PE file format
- Host: GitHub
- URL: https://github.com/Luukdegram/cld
- Owner: Luukdegram
- License: mit
- Created: 2022-03-31T09:46:43.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-29T17:54:18.000Z (over 2 years ago)
- Last Synced: 2024-05-02T02:20:04.885Z (6 months ago)
- Language: Zig
- Size: 63.5 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-zig - cld🗒️Linker for the Coff/PE file format
README
# Cld
Linker for the Coff object file format. This project is meant as the base for [zig](https://ziglang.org)'s self-hosted linker.
This repository will probably not contain a full-featured linker as the main work will move to the Zig repository at one point,
as well as upstreamed into [zld](https://github.com/kubkon/zld).
For those reasons, the code within this repository will be closely inline with the structure of the other linkers of the Zig project.## building
Cld will always closely follow the master branch of the Zig programming language.
Building `Cld` itself will be as simple as running:
```sh
zig build
```
This will create a `cld` binary in the `zig-out/bin` folder.To enable debug logging, the CLI flag `-Denable-logging` can be supplied to the `zig build` command.
This will enable logging for the built binary, meaning it must be re-compiled to disable logging once again.