digitalmars.D.ldc - Arm binaries
- Andrea Fontana (5/5) Oct 24 2017 On wiki I read: "Get a native ARM GNU/Linux compiler from the
- Joakim (6/11) Oct 25 2017 There isn't on the first page, but on the next one:
- Andrea Fontana (4/17) Oct 25 2017 QEMU can emulate armhf, you don't need a board, i guess.
- Johan Engelen (5/17) Oct 26 2017 Great! So can I write you down as the person who uploads the ARM
- Andrea Fontana (3/21) Oct 28 2017 Sorry, I'm not a ldc developer :)
- Johannes Loher (3/21) Oct 28 2017 I own a Raspberry Pi 3. If somebody walks me through the
- Joakim (8/32) Oct 28 2017 Another option would be to cross-compile the native linux/ARM ldc
- kinke (8/41) Oct 28 2017 Yeah that's probably what we should be looking into.
- kinke (16/59) Nov 02 2017 Follow-up: LDC 1.5 comes with an ARMv6 hard-float package for
- Joseph (6/69) Nov 06 2017 Can you add a link to the ldc page that links to an up to date
- Joakim (4/11) Nov 06 2017 See this page on the wiki, which was linked from the 1.4 release:
- Joseph (4/18) Nov 06 2017 What I mean is that finding these links in the forum is not easy.
- kinke (2/5) Nov 06 2017 So why don't you? It's a Wiki for a reason after all.
- Joseph (5/10) Nov 06 2017 Huh? Maybe you should stop criticizing people and at least try to
- kinke (6/10) Nov 07 2017 Well since you didn't specify what you mean by 'LDC page', I can
- Joakim (6/27) Nov 06 2017 There is a link in the main LDC wiki page, which is linked from
- Andre Pany (6/13) Nov 06 2017 I created an easy walkthrough for cross compilation from Windows
- Joseph (3/18) Nov 06 2017 Thanks, but unfortunately I don't speak German ;/ looks goo
- Andre Pany (5/25) Nov 07 2017 It is not planned but googles website translation service will
On wiki I read: "Get a native ARM GNU/Linux compiler from the official release page." Provided link redirect me to github releases page. But there's no arm binaries available. Andrea Fontana
Oct 24 2017
On Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:On wiki I read: "Get a native ARM GNU/Linux compiler from the official release page." Provided link redirect me to github releases page. But there's no arm binaries available. Andrea FontanaThere isn't on the first page, but on the next one: https://github.com/ldc-developers/ldc/releases/tag/v1.1.0 Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 25 2017
On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:On Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.On wiki I read: "Get a native ARM GNU/Linux compiler from the official release page." Provided link redirect me to github releases page. But there's no arm binaries available. Andrea FontanaThere isn't on the first page, but on the next one: https://github.com/ldc-developers/ldc/releases/tag/v1.1.0 Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 25 2017
On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 26 2017
On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:Sorry, I'm not a ldc developer :) But I use D on arm!On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 28 2017
On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:I own a Raspberry Pi 3. If somebody walks me through the necessary steps, I'd be willing to provide binaries for ARMv7.On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 28 2017
On Saturday, 28 October 2017 at 14:54:17 UTC, Johannes Loher wrote:On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:Another option would be to cross-compile the native linux/ARM ldc with a bootstrap ldc cross-compiler for linux/x64, as I did with the Android/ARM package I setup for the Termux Android app: https://github.com/termux/termux-packages/tree/master/packages/ldc That works well for me with Android/ARM, might work for linux/ARM too.On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:I own a Raspberry Pi 3. If somebody walks me through the necessary steps, I'd be willing to provide binaries for ARMv7.On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 28 2017
On Saturday, 28 October 2017 at 17:16:46 UTC, Joakim wrote:On Saturday, 28 October 2017 at 14:54:17 UTC, Johannes Loher wrote:Yeah that's probably what we should be looking into. I gave QEMU a try (in my Linux VirtualBox ;)); after 26 hours of building (!), I finally have a LLVM 5.0.0. For other interested guys: I can recommend following https://translatedcode.wordpress.com/2016/11/03/installing-debian-on-qemus-32- it-arm-virt-board/. I gave it 2 gigs of memory and 3 CPU cores (but QEMU itself seems to use only a single CPU host core). [I'm mainly interested in running the testsuite and checking if there's something still missing.]On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:Another option would be to cross-compile the native linux/ARM ldc with a bootstrap ldc cross-compiler for linux/x64, as I did with the Android/ARM package I setup for the Termux Android app: https://github.com/termux/termux-packages/tree/master/packages/ldc That works well for me with Android/ARM, might work for linux/ARM too.On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:I own a Raspberry Pi 3. If somebody walks me through the necessary steps, I'd be willing to provide binaries for ARMv7.On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Oct 28 2017
On Saturday, 28 October 2017 at 17:39:40 UTC, kinke wrote:On Saturday, 28 October 2017 at 17:16:46 UTC, Joakim wrote:Follow-up: LDC 1.5 comes with an ARMv6 hard-float package for Linux again: https://github.com/ldc-developers/ldc/releases/tag/v1.5.0 It was built on Debian Jessie with gcc 4.9 and includes static/shared runtime libs, the LTO linker plugin and dub/rdmd/dustmite/ddemangle, that's why it's not exactly tiny. For reference, building LDC in QEMU takes about 3 hours on my machine. To spare others a few hours, I also uploaded the prebuilt LLVM 5.0.0 (without LLD): https://github.com/ldc-developers/llvm/releases/tag/ldc-v5.0.0 It was built with CMake variable LLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabihf in order to emit ARMv6 code by default, just like Debian's gcc. See https://github.com/ldc-developers/ldc/issues/1988 for context.On Saturday, 28 October 2017 at 14:54:17 UTC, Johannes Loher wrote:Yeah that's probably what we should be looking into. I gave QEMU a try (in my Linux VirtualBox ;)); after 26 hours of building (!), I finally have a LLVM 5.0.0. For other interested guys: I can recommend following https://translatedcode.wordpress.com/2016/11/03/installing-debian-on-qemus-32- it-arm-virt-board/. I gave it 2 gigs of memory and 3 CPU cores (but QEMU itself seems to use only a single CPU host core).On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:Another option would be to cross-compile the native linux/ARM ldc with a bootstrap ldc cross-compiler for linux/x64, as I did with the Android/ARM package I setup for the Termux Android app: https://github.com/termux/termux-packages/tree/master/packages/ldc That works well for me with Android/ARM, might work for linux/ARM too.On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:I own a Raspberry Pi 3. If somebody walks me through the necessary steps, I'd be willing to provide binaries for ARMv7.On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Nov 02 2017
On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:On Saturday, 28 October 2017 at 17:39:40 UTC, kinke wrote:Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)On Saturday, 28 October 2017 at 17:16:46 UTC, Joakim wrote:Follow-up: LDC 1.5 comes with an ARMv6 hard-float package for Linux again: https://github.com/ldc-developers/ldc/releases/tag/v1.5.0 It was built on Debian Jessie with gcc 4.9 and includes static/shared runtime libs, the LTO linker plugin and dub/rdmd/dustmite/ddemangle, that's why it's not exactly tiny. For reference, building LDC in QEMU takes about 3 hours on my machine. To spare others a few hours, I also uploaded the prebuilt LLVM 5.0.0 (without LLD): https://github.com/ldc-developers/llvm/releases/tag/ldc-v5.0.0 It was built with CMake variable LLVM_DEFAULT_TARGET_TRIPLE=arm-none-linux-gnueabihf in order to emit ARMv6 code by default, just like Debian's gcc. See https://github.com/ldc-developers/ldc/issues/1988 for context.On Saturday, 28 October 2017 at 14:54:17 UTC, Johannes Loher wrote:Yeah that's probably what we should be looking into. I gave QEMU a try (in my Linux VirtualBox ;)); after 26 hours of building (!), I finally have a LLVM 5.0.0. For other interested guys: I can recommend following https://translatedcode.wordpress.com/2016/11/03/installing-debian-on-qemus-32- it-arm-virt-board/. I gave it 2 gigs of memory and 3 CPU cores (but QEMU itself seems to use only a single CPU host core).On Thursday, 26 October 2017 at 16:58:59 UTC, Johan Engelen wrote:Another option would be to cross-compile the native linux/ARM ldc with a bootstrap ldc cross-compiler for linux/x64, as I did with the Android/ARM package I setup for the Termux Android app: https://github.com/termux/termux-packages/tree/master/packages/ldc That works well for me with Android/ARM, might work for linux/ARM too.On Wednesday, 25 October 2017 at 10:03:37 UTC, Andrea Fontana wrote:I own a Raspberry Pi 3. If somebody walks me through the necessary steps, I'd be willing to provide binaries for ARMv7.On Wednesday, 25 October 2017 at 07:01:59 UTC, Joakim wrote:Great! So can I write you down as the person who uploads the ARM binaries upon beta/release? ;-) ;P - JohanOn Wednesday, 25 October 2017 at 06:54:54 UTC, Andrea Fontana wrote:QEMU can emulate armhf, you don't need a board, i guess. By the way on aliexpress an orangepi costs 6.99$ and run linux on arm.Provided link redirect me to github releases page. But there's no arm binaries available.Only a couple ldc devs have linux/ARM boards and they're not usually able to provide a build.
Nov 06 2017
On Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:See this page on the wiki, which was linked from the 1.4 release: https://wiki.dlang.org/Building_LDC_runtime_libraries The Android link there also shows some similar examples.[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 06 2017
On Monday, 6 November 2017 at 20:13:33 UTC, Joakim wrote:On Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:What I mean is that finding these links in the forum is not easy. You should add them to the main page so that people can locate the help easier than having to hunt and peck.On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:See this page on the wiki, which was linked from the 1.4 release: https://wiki.dlang.org/Building_LDC_runtime_libraries The Android link there also shows some similar examples.[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 06 2017
On Monday, 6 November 2017 at 22:48:07 UTC, Joseph wrote:What I mean is that finding these links in the forum is not easy. You should add them to the main page so that people can locate the help easier than having to hunt and peck.So why don't you? It's a Wiki for a reason after all.
Nov 06 2017
On Tuesday, 7 November 2017 at 00:50:28 UTC, kinke wrote:On Monday, 6 November 2017 at 22:48:07 UTC, Joseph wrote:Huh? Maybe you should stop criticizing people and at least try to make sense of what they are talking about first? How am I suppose to add a wiki link to the LDC page? I can push a request but is that what you are really suggesting?What I mean is that finding these links in the forum is not easy. You should add them to the main page so that people can locate the help easier than having to hunt and peck.So why don't you? It's a Wiki for a reason after all.
Nov 06 2017
On Tuesday, 7 November 2017 at 04:34:19 UTC, Joseph wrote:Huh? Maybe you should stop criticizing people and at least try to make sense of what they are talking about first? How am I suppose to add a wiki link to the LDC page? I can push a request but is that what you are really suggesting?Well since you didn't specify what you mean by 'LDC page', I can only infer by your additional context now that you meant the GitHub readme (featuring a prominent link to the Wiki). Most user information can be found on the Wiki (and to some extent, the GitHub release logs with their further links).
Nov 07 2017
On Monday, 6 November 2017 at 22:48:07 UTC, Joseph wrote:On Monday, 6 November 2017 at 20:13:33 UTC, Joakim wrote:There is a link in the main LDC wiki page, which is linked from the main ldc github page: https://wiki.dlang.org/LDC#ARM I guess you want that linked from the github downloads too, not a bad idea.On Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:What I mean is that finding these links in the forum is not easy. You should add them to the main page so that people can locate the help easier than having to hunt and peck.On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:See this page on the wiki, which was linked from the 1.4 release: https://wiki.dlang.org/Building_LDC_runtime_libraries The Android link there also shows some similar examples.[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 06 2017
On Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:I created an easy walkthrough for cross compilation from Windows to arm (raspberry pi). The article is on german http://d-land.sepany.de/einstieg-in-die-raspberry-pi-entwicklung-mit-ldc.html Kind regards Andre[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 06 2017
On Monday, 6 November 2017 at 22:51:14 UTC, Andre Pany wrote:On Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:Thanks, but unfortunately I don't speak German ;/ looks goo though, chances of a translation at some point?On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:I created an easy walkthrough for cross compilation from Windows to arm (raspberry pi). The article is on german http://d-land.sepany.de/einstieg-in-die-raspberry-pi-entwicklung-mit-ldc.html Kind regards Andre[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 06 2017
On Tuesday, 7 November 2017 at 04:35:34 UTC, Joseph wrote:On Monday, 6 November 2017 at 22:51:14 UTC, Andre Pany wrote:It is not planned but googles website translation service will give you an usable translation. Kind regards AndréOn Monday, 6 November 2017 at 18:49:57 UTC, Joseph wrote:Thanks, but unfortunately I don't speak German ;/ looks goo though, chances of a translation at some point?On Thursday, 2 November 2017 at 23:57:15 UTC, kinke wrote:I created an easy walkthrough for cross compilation from Windows to arm (raspberry pi). The article is on german http://d-land.sepany.de/einstieg-in-die-raspberry-pi-entwicklung-mit-ldc.html Kind regards Andre[...]Can you add a link to the ldc page that links to an up to date walkthrough on how to properly(and easily) cross compile arm binaries with the examples? (I want to create some open gl demo stuff but I can't find the resources)
Nov 07 2017