Skip to content

fudan-ppi/melf-linker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MELF LLVM lld

This is a LLVM 13.0.0 fork of the repository available at https://github.com/llvm/llvm-project.

Installation

The following example shows how to build the lld with ninja.

Steps

Important: You may want to ensure building the release config to reduce memory pressure during building.

$ mkdir build && cd build
$ cmake -G Ninja -DLLVM_ENABLE_PROJECTS=lld -DCMAKE_BUILD_TYPE=Release ../src/llvm
$ ninja # actually starts the build process. Might take a while.

After that lld can be found inside the build folder. Create a symlink to reference to it with the name ld.lld.

$ ln -s /path/to/repository/build/bin/lld ld.lld

or add it to the PATH environment variable

$ export PATH=/path/to/repository/build/bin:$PATH

Now you can link multivariant ELFs.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published