Bug 19106 – Make -lpthread -lm -lrt -ldl --as-needed on Linux target

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
Linux
Creation time
2018-07-22T09:38:18Z
Last change time
2024-12-13T18:59:43Z
Assigned to
No Owner
Creator
Vic Luo
Moved to GitHub: dmd#19462 →

Comments

Comment #0 by vicluo96 — 2018-07-22T09:38:18Z
Current implementation links these libraries under all circumstances. However, for libc-free programming these libraries are redundant. This is one of the show stoppers toward `dmd`-based libc-free programming without invoking `cc` manually. Another is https://github.com/dlang/dmd/pull/794. Related code: https://github.com/dlang/dmd/blob/6371942b1bf26dc6c65cc7e0668bc82e1974c18d/src/dmd/link.d#L652
Comment #1 by robert.schadek — 2024-12-13T18:59:43Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19462 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB