digitalmars.D.learn - How do I install a non-outdated D compiler on Linux? (not in
- solidstate1991 (8/8) Jun 07 I **need** to link against various system libraries, and
- solidstate1991 (7/15) Jun 07 Okay, I installed the "curl" versions, how do I edit the
- bachmeier (6/22) Jun 07 For Mint, I'd use the .deb and let it handle that stuff. For LDC,
- solidstate1991 (3/8) Jun 08 Okay, does someone know how to set up the path for LDC on Linux,
I **need** to link against various system libraries, and otherwise some tools won't be able to access the D compiler unless I start them from a command line after an initialization script. I'm using Linux Mint, it's much more stable than Ubuntu (which started to completely collapse on me for just looking the wrong way at it), but unfortunately some packages are outdated, especially the D compilers.
Jun 07
On Friday, 7 June 2024 at 23:19:37 UTC, solidstate1991 wrote:I **need** to link against various system libraries, and otherwise some tools won't be able to access the D compiler unless I start them from a command line after an initialization script. I'm using Linux Mint, it's much more stable than Ubuntu (which started to completely collapse on me for just looking the wrong way at it), but unfortunately some packages are outdated, especially the D compilers.Okay, I installed the "curl" versions, how do I edit the activating shell scripts of DMD and LDC that they'd work as if they were installed "normally"? I don't have the time, not the capacity to test my libraries with multiple different compiler versions, and document any oddities between them (and I almost never need it thanks to D).
Jun 07
On Saturday, 8 June 2024 at 00:21:59 UTC, solidstate1991 wrote:On Friday, 7 June 2024 at 23:19:37 UTC, solidstate1991 wrote:For Mint, I'd use the .deb and let it handle that stuff. For LDC, I have a bash alias for ldmd2 that points to the ldmd2 binary. Of course there are multiple ways to handle this, but I don't understand the point of the install script, since it leaves you without a working installation.I **need** to link against various system libraries, and otherwise some tools won't be able to access the D compiler unless I start them from a command line after an initialization script. I'm using Linux Mint, it's much more stable than Ubuntu (which started to completely collapse on me for just looking the wrong way at it), but unfortunately some packages are outdated, especially the D compilers.Okay, I installed the "curl" versions, how do I edit the activating shell scripts of DMD and LDC that they'd work as if they were installed "normally"? I don't have the time, not the capacity to test my libraries with multiple different compiler versions, and document any oddities between them (and I almost never need it thanks to D).
Jun 07
On Saturday, 8 June 2024 at 03:36:05 UTC, bachmeier wrote:For Mint, I'd use the .deb and let it handle that stuff. For LDC, I have a bash alias for ldmd2 that points to the ldmd2 binary. Of course there are multiple ways to handle this, but I don't understand the point of the install script, since it leaves you without a working installation.Okay, does someone know how to set up the path for LDC on Linux, without the bash alias?
Jun 08