digitalmars.D.learn - ldc on a raspberry pi 3 running freebsd
- Decabytes (11/11) Feb 23 2021 I've been playing around in D for a bit and I'm enjoying it so
- Adam D. Ruppe (6/9) Feb 23 2021 It is often called `ldc2` so give that a try.
- Decabytes (10/16) Feb 23 2021 ldc2 is the winner thank you! I'd like to get gdc and dmd up and
- Jacob Carlborg (4/6) Feb 26 2021 Unfortunately, DMD doesn't support ARM.
- Steven Schveighoffer (7/18) Feb 23 2021 Found this on the internet:
- Decabytes (4/12) Feb 23 2021 Aha "pkg info ldc2 | grep "bin"" yielded the location in
I've been playing around in D for a bit and I'm enjoying it so far. I've also been testing out freebsd on a Raspberry Pi 3. I noticed that there is actually a package for LDC on the raspberry pi 3, and thought it would be fun to play around with D on an ARM platform. I installed it with "pkg install ldc", but embarrassingly I'm not actually sure where the compiler is. ldc isn't a recognized action on the command line, and I've hunted around my /usr/local/llvm10/ directory but I'm having difficulty finding anything that looks like what I'm looking for. Does anyone have any experience with ldc on freebsd that could help me out?
Feb 23 2021
On Tuesday, 23 February 2021 at 14:56:45 UTC, Decabytes wrote:I installed it with "pkg install ldc", but embarrassingly I'm not actually sure where the compiler is. ldc isn't a recognized action on the command lineIt is often called `ldc2` so give that a try. btw I run gdc on my raspberry pi 3 from the raspbian distro package and it is pretty nice too. though ldc will have newer D frontend features as the version they have packaged of gdc is a touch old, both work pretty well.
Feb 23 2021
On Tuesday, 23 February 2021 at 15:11:32 UTC, Adam D. Ruppe wrote:On Tuesday, 23 February 2021 at 14:56:45 UTC, Decabytes wrote:It is often called `ldc2` so give that a try. btw I run gdc on my raspberry pi 3 from the raspbian distro package and it is pretty nice too. though ldc will have newer D frontend features as the version they have packaged of gdc is a touch old, both work pretty well.ldc2 is the winner thank you! I'd like to get gdc and dmd up and running to at some point, but seeing as they aren't packaged up it will prob require building from source, which I'm not totally sure how to do or if it's even feasible on a raspberry pi 3 with only 1gb of ram. I wonder if it would be easier to load up freebsd on my main desktop get dmd and gdc running there, and then cross compile for arm64. Who knows! I probably won't be trying it for awhile but if anyone has any experience with this as well I'm all ears. Thanks again for the help
Feb 23 2021
On 2021-02-23 16:34, Decabytes wrote:ldc2 is the winner thank you! I'd like to get gdc and dmd up and running to at some pointUnfortunately, DMD doesn't support ARM. -- /Jacob Carlborg
Feb 26 2021
On 2/23/21 9:56 AM, Decabytes wrote:I've been playing around in D for a bit and I'm enjoying it so far. I've also been testing out freebsd on a Raspberry Pi 3. I noticed that there is actually a package for LDC on the raspberry pi 3, and thought it would be fun to play around with D on an ARM platform. I installed it with "pkg install ldc", but embarrassingly I'm not actually sure where the compiler is. ldc isn't a recognized action on the command line, and I've hunted around my /usr/local/llvm10/ directory but I'm having difficulty finding anything that looks like what I'm looking for. Does anyone have any experience with ldc on freebsd that could help me out?Found this on the internet: https://forums.freebsd.org/threads/list-of-the-installed-files-of-a-package.66372/ looks like: pkg info -l name-of-package It should show you were it put the ldc command and what it's called. -Steve
Feb 23 2021
On Tuesday, 23 February 2021 at 15:15:56 UTC, Steven Schveighoffer wrote:On 2/23/21 9:56 AM, Decabytes wrote:Found this on the internet: https://forums.freebsd.org/threads/list-of-the-installed-files-of-a-package.66372/ looks like: pkg info -l name-of-package It should show you were it put the ldc command and what it's called. -SteveAha "pkg info ldc2 | grep "bin"" yielded the location in /usr/local/bin/ldc2. Thanks!
Feb 23 2021