Surprise using DMD as replacement C compiler
Hipreme
msnmancini at hotmail.com
Thu Feb 29 18:49:00 UTC 2024
On Thursday, 29 February 2024 at 15:34:43 UTC, Carl Sturtivant
wrote:
> Hello, I ran into this issue when compiling an old large
> project on Linux with DMD as its C compiler implicitly using
> [ImportC](https://dlang.org/spec/importc.html). I was
> successful: ImportC really came through!
>
> [...]
The linking flags need to be preppended with `-L` on each: `-L-lm
-L-lrt -L-lphobos2`. It doesn't look like you've done that from
the logs
More information about the Digitalmars-d
mailing list