digitalmars.D.announce - Added Wiki page
- dangbinghoo (6/6) Mar 14 2018 hello there,
- Martin Tschierschke (2/8) Mar 14 2018 +1
- Seb (16/29) Mar 14 2018 Great article!
- Uknown (6/16) Mar 14 2018 I'm not OP, but I changed some of the language and fixed the
- Aravinda VK (3/9) Mar 14 2018 For Fedora I found below link to install `gcc-arm-linux-gnueabihf`
- dangbinghoo (2/16) Mar 18 2018 just added fedora or centos, but installing using yum.
- dangbinghoo (3/21) Mar 18 2018 also added dnf way for installing armhf toolchain as the tutorial
- Uknown (12/18) Mar 14 2018 Just a little tip, but I would recommend avoiding giving install
- dangbinghoo (7/30) Mar 18 2018 All these instructions are not tied to a specified version, it
hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!
Mar 14 2018
On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!+1
Mar 14 2018
On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devicesGreat article! How about making a blog post for the DBlog out of this? --- A few comments:As my english is not that good, every body who find mistakes just try to fix it.The MediaWiki notation for links is [link title] - not Markdown. Pandoc can convert between markdown and MediaWiki.This means that all library path does not includes libssl, libcrypto, libz. You need to find or build a toolchain with extra lib built-in, or, just cross-compiling the desired c library and install to your toolchain sysroot path.You can disable ssl completely by adding `versions "VibeNoSSL"` to your dub.sdl (or `versions: ["VibeNoSSL"]` to dub.json)If you download LDC2 standalone release from github page, say: [ldc2-1.8.0-linux-x86_64.tar.xz](https://github.com/ldc-developers/ldc/releases/download/v1.8.0/ldc2-1.8.0-linux-x86_64.tar.xz) we need a little bit tricky thing to do:The recommended way is to use the official install script (https://dlang.org/install.html) curl https://dlang.org/install.sh | bash -s ldc$ vim test.dbetter use sth. like this, s.t. copy/pasting is easy: cat > test.d << EOF ... EOF
Mar 14 2018
On Wednesday, 14 March 2018 at 10:25:04 UTC, Seb wrote:On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote: [snip]I'm not OP, but I changed some of the language and fixed the links.As my english is not that good, every body who find mistakes just try to fix it.The MediaWiki notation for links is [link title] - not Markdown. Pandoc can convert between markdown and MediaWiki.[snip] The recommended way is to use the official install script (https://dlang.org/install.html) curl https://dlang.org/install.sh | bash -s ldcI changed the LDC install instructions to the curl method I think this reads better now. This was a great idea for a tutorial! Now all we need is a blog post...
Mar 14 2018
On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!For Fedora I found below link to install `gcc-arm-linux-gnueabihf` https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabihf-toolchain/
Mar 14 2018
On Wednesday, 14 March 2018 at 11:09:47 UTC, Aravinda VK wrote:On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:just added fedora or centos, but installing using yum.hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!For Fedora I found below link to install `gcc-arm-linux-gnueabihf` https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabihf-toolchain/
Mar 18 2018
On Monday, 19 March 2018 at 01:25:23 UTC, dangbinghoo wrote:On Wednesday, 14 March 2018 at 11:09:47 UTC, Aravinda VK wrote:also added dnf way for installing armhf toolchain as the tutorial is mainly based on armhf target.On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:just added fedora or centos, but installing using yum.hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!For Fedora I found below link to install `gcc-arm-linux-gnueabihf` https://copr.fedorainfracloud.org/coprs/lantw44/arm-linux-gnueabihf-toolchain/
Mar 18 2018
On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!Just a little tip, but I would recommend avoiding giving install instructions that vary from platform to platform. The problem is that 2 years down the line, when someone discovers this tutorial, they may discover that the instructions are no longer applicable. That makes the entire tutorial seem outdated. Also, the instructions are hard to verify for contributors, since they probably already installed the programs, so they can't tell if the instructions are outdated or wrong. Instead, I would recommend giving relevant links to install instructions provided by the program/package creator. That way the instructions are always up to date
Mar 14 2018
On Wednesday, 14 March 2018 at 12:44:31 UTC, Uknown wrote:On Wednesday, 14 March 2018 at 09:29:26 UTC, dangbinghoo wrote:All these instructions are not tied to a specified version, it should work for the future. Linux Distribution like fedora/debain/ArchLinux will not change such a package name for installing arm toolchain, as the toolchain package is not like libpng, you may have libpng11 libpng1.2 or what ever, it's just solid package names.hello there, Just added a paper for cross compiling D on arm linux devices. https://wiki.dlang.org/Programming_in_D_tutorial_on_Embedded_Linux_ARM_devices As my english is not that good, every body who find mistakes just try to fix it. Thanks!Just a little tip, but I would recommend avoiding giving install instructions that vary from platform to platform. The problem is that 2 years down the line, when someone discovers this tutorial, they may discover that the instructions are no longer applicable. That makes the entire tutorial seem outdated. Also, the instructions are hard to verify for contributors, since they probably already installed the programs, so they can't tell if the instructions are outdated or wrong. Instead, I would recommend giving relevant links to install instructions provided by the program/package creator. That way the instructions are always up to date
Mar 18 2018