Re: D support for ChromeOS
On Wednesday, 22 August 2018 at 01:48:01 UTC, Joakim wrote: On Tuesday, 21 August 2018 at 20:29:34 UTC, Emil wrote: On Saturday, 3 February 2018 at 18:11:15 UTC, Daniel Kozak wrote: [...] Tried it on an Acer Chromebook R13 running Version 69.0.3497.35 (Official Build) dev (32-bit). I have no previous experience with llvm. [...] Looks like your Chromebook's got a MediaTek AArch64 processor, ie 64-bit ARM, which wasn't supported by D until the just released LDC 1.11. I'd try building 1.11 from source, using these instructions: https://wiki.dlang.org/Building_LDC_from_source You will need a working CMake though, looks like the one you're trying to use isn't running. Oh, I forgot, if you're running Android apps in your Chromebook, you can install the Termux app and use LDC through there: https://play.google.com/store/apps/details?id=com.termux&hl=en The first AArch64 build of LDC for Termux should be up in a day or so, `apt install ldc`, or you can build it from source in Termux, if you can't wait. ;)
Re: D support for ChromeOS
On Tuesday, 21 August 2018 at 20:29:34 UTC, Emil wrote: On Saturday, 3 February 2018 at 18:11:15 UTC, Daniel Kozak wrote: [...] Tried it on an Acer Chromebook R13 running Version 69.0.3497.35 (Official Build) dev (32-bit). I have no previous experience with llvm. [...] Looks like your Chromebook's got a MediaTek AArch64 processor, ie 64-bit ARM, which wasn't supported by D until the just released LDC 1.11. I'd try building 1.11 from source, using these instructions: https://wiki.dlang.org/Building_LDC_from_source You will need a working CMake though, looks like the one you're trying to use isn't running.
Re: D support for ChromeOS
On Saturday, 3 February 2018 at 18:11:15 UTC, Daniel Kozak wrote: Today I have added basic support for D language (ldc and dub) to chromebrew: https://github.com/skycocker/chromebrew/pull/1717 So if you have ChromeBook with Chrome OS (developer mode is needed for chromebrew), you can try it, if everything works ok for you. Tried it on an Acer Chromebook R13 running Version 69.0.3497.35 (Official Build) dev (32-bit). I have no previous experience with llvm. dub init ran fine. getting this error when trying to run dub in the newly created project chronos@localhost ~/work/my_test $ dub Failed to invoke the compiler /usr/local/bin/ldc2 to determine the build platform: /usr/local/bin/ldc2: error while loading shared libraries: libLLVMLTO.so.5: cannot open shared object file: No such file or directory when running ldc2 chronos@localhost ~/work/my_test $ ldc2 ldc2: error while loading shared libraries: libLLVMLTO.so.5: cannot open shared object file: No such file or directory I do have another version installed though: chronos@localhost ~/work/my_test $ locate libLLVMLTO /mnt/stateful_partition/dev_image/lib/libLLVMLTO.so /mnt/stateful_partition/dev_image/lib/libLLVMLTO.so.6 /mnt/stateful_partition/dev_image/lib/libLLVMLTO.so.6.0.0 /usr/local/lib/libLLVMLTO.so /usr/local/lib/libLLVMLTO.so.6 /usr/local/lib/libLLVMLTO.so.6.0.0 trying to build ldc: chronos@localhost ~/work/my_test $ crew build ldc (i) ldc: D language compiler using LLVM. https://github.com/ldc-developers/ldc version 1.7.0 Downloading source... Archive downloaded Unpacking archive, this may take awhile... Building from source, this may take a while... Rename all *.la files to *.la_tmp % Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total Spent Left Speed 100 6100 6100 0742 0 --:--:-- --:--:-- --:--:-- 778 100 4888k 100 4888k0 0 437k 0 0:00:11 0:00:11 --:--:-- 749k cmake: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by cmake) cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by cmake) cmake: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by cmake) ldc failed to build: `cmake -Bbuild/ldc-0.17.5-src -Hbuild/ldc-0.17.5-src` exited with 1 chronos@localhost ~/work/my_test $ uname -a Linux localhost 3.18.0-18117-g8dfac4fe62f3 #1 SMP PREEMPT Fri Aug 10 09:50:22 PDT 2018 aarch64 ARMv8 Processor rev 2 (v8l) GNU/Linux chronos@localhost ~/work/my_test $ cat /proc/cpuinfo processor : 0 model name : ARMv8 Processor rev 2 (v8l) Features: fp asimd evtstrm aes pmull sha1 sha2 crc32 CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part: 0xd03 CPU revision: 2
Re: LDC 1.11.0
On Sunday, 19 August 2018 at 10:11:42 UTC, 鲜卑拓跋枫 wrote: Many thanks for your effort! And hope the subsequent LDC releases with LLVM 7.0 will be mature enough on AArch64 and RISC-V for production environment. Who is actually running AArch64 or RISC-V in a "production environment?" Maybe a few for AArch64, but pretty much nobody for RISC-V. I tried looking for a RISC-V VPS or dev board recently and found basically nothing, just two boards from SiFive that are too small or too expensive.
Re: Beta 2.082.0
On Saturday, 18 August 2018 at 16:51:18 UTC, Martin Nowak wrote: I understand that common Windows users have a very different thread model than linux developers, hence the crappy Anti-Virus rootkits. I'd expect the Windows dev audience we're targeting with D to be a bit more capable than common Windows users though. Since introduction of UAC in Vista viruses became a non-issue and the theme lost buzz, that can foster ignorance.
Re: Beta 2.082.0
On Friday, 17 August 2018 at 20:01:32 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.082.0 release, ♥ to the 47 contributors for this release. [...] Could I pretty please get this absolutely non-controversial regression fix in before the release? https://github.com/dlang/dmd/pull/8542