lambdaclass / concrete

Concrete is a simple programming language specifically crafted for creating highly scalable systems that are reliable, efficient, and easy to maintain.
Apache License 2.0
123 stars 11 forks source link

[Compile Driver] Proper Linker Usage #70

Open edg-l opened 8 months ago

edg-l commented 8 months ago

Good related read: https://fabiensanglard.net/dc/driver.php

I looked into the Rust source code, they also call the linker as a command line program.

What we need to do is analyse properly the requirements of the program to be linked, such as dependencies and files to link together, and whether it is a shared, static library or a binary.

Things to analyse and pass to the linker cli:

Optional:

https://github.com/lambdaclass/concrete/blob/main/crates/concrete_codegen_mlir/src/linker.rs