Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

ifx: -fuse-ld=lld and -fuse-ld=mold

foxtran
New Contributor I
1,950 Views

Dear,

Currently, ifx supports only ld, bfg and gold linkers:
```
-fuse-ld=<arg>
Use different linker instead of default linker (ld)
bfd - use bfd linker
gold - use gold linker
```

It would be nice to have well-parallelized linkers lld (from LLVM infrastructure) and mold (The Modern Linker from rui314) to link large applications faster.


Links:
- lld: https://github.com/llvm/llvm-project/tree/main/lld
- mold: https://github.com/rui314/mold/tree/main

The following results are taken from mold repo (https://github.com/rui314/mold/tree/main
comparison



Labels (1)
0 Kudos
1 Solution
Barbara_P_Intel
Employee
1,878 Views

lld is supported. See the Developer Guide and Reference (DGR). Not sure how it was missed in ifx -help. We'll get it fixed.

View solution in original post

0 Kudos
4 Replies
Barbara_P_Intel
Employee
1,879 Views

lld is supported. See the Developer Guide and Reference (DGR). Not sure how it was missed in ifx -help. We'll get it fixed.

0 Kudos
foxtran
New Contributor I
1,856 Views

Thanks!

0 Kudos
foxtran
New Contributor I
1,854 Views

By the way, what is about mold?

0 Kudos
Barbara_P_Intel
Employee
1,828 Views

No plans for mold at this time.

0 Kudos
Reply