Re: GDC in Slackware and a bit about GDC development
On Saturday, 23 September 2017 at 20:34:51 UTC, Iain Buclaw wrote: On 23 September 2017 at 21:45, Eugene Wissner via Digitalmars-d-announcewrote: GDC looks pretty nice. I had only one problem: I got a linking error if I use core.stdc.stdarg; not sure if it is my failure or a bug. But I could build my library and run tests. Pretty nice. What's the linker error? Here is the code, test.d: import core.stdc.stdarg; void format(char[] buf, ...) { va_list va; va_start(va, buf); va_end(va); } void main() { } $ gdc test.d /tmp/ccwm5f8o.o: In function `_D4test6formatFAaYv': test.d:(.text+0x114): undefined reference to `_D4core4stdc6stdarg6va_endFNbPS4core4stdc6stdarg13__va_list_tagZv' collect2: ld returned 1 exit status Looks good. A simpler GCC frontend would be https://github.com/giuseppe/gccbrainfuck But without the great explanations :)
Re: GDC in Slackware and a bit about GDC development
On 23 September 2017 at 21:45, Eugene Wissner via Digitalmars-d-announcewrote: > Hi, > > lately I finally got some time to create GDC package for Slackware Linux > [1]. > Slackware ships gcc 5.3.0, therefore GDC package is the latest version from > "gcc5" branch. It has phobos and druntime 2.076.0-b1 and the frontend > somewhere between 2.075 and 2.076. > Since Slackware packages are built by plain shell scripts, I thought I make > an announce, because it can be used as a reference by people, who whant to > build the latest GDC from source. The only difference between Slackware and > mainstream Linux distributions (Ubuntu, Debian) I'm aware of, is that x86-64 > Slackware isn't multiarch by default. > > The package is on slackbuilds.org [2]. The direct link to the build script > is [3]. > GDC looks pretty nice. I had only one problem: I got a linking error if I > use core.stdc.stdarg; not sure if it is my failure or a bug. But I could > build my library and run tests. Pretty nice. > What's the linker error? > I also would like to point to the "GCC tiny" tutorial [4]. The tutorial > tells how to create a GCC frontend for a Pascal-like language, tiny. And it > is a great thing to learn about GCC internals for someone who wants to help > with GDC development, the best one I could find in the last months. > > [4] http://thinkingeek.com/gcc-tiny/ Looks good. A simpler GCC frontend would be https://github.com/giuseppe/gccbrainfuck Regards Iain.
GDC in Slackware and a bit about GDC development
Hi, lately I finally got some time to create GDC package for Slackware Linux [1]. Slackware ships gcc 5.3.0, therefore GDC package is the latest version from "gcc5" branch. It has phobos and druntime 2.076.0-b1 and the frontend somewhere between 2.075 and 2.076. Since Slackware packages are built by plain shell scripts, I thought I make an announce, because it can be used as a reference by people, who whant to build the latest GDC from source. The only difference between Slackware and mainstream Linux distributions (Ubuntu, Debian) I'm aware of, is that x86-64 Slackware isn't multiarch by default. The package is on slackbuilds.org [2]. The direct link to the build script is [3]. GDC looks pretty nice. I had only one problem: I got a linking error if I use core.stdc.stdarg; not sure if it is my failure or a bug. But I could build my library and run tests. Pretty nice. I also would like to point to the "GCC tiny" tutorial [4]. The tutorial tells how to create a GCC frontend for a Pascal-like language, tiny. And it is a great thing to learn about GCC internals for someone who wants to help with GDC development, the best one I could find in the last months. [1] http://www.slackware.com/ [2] https://slackbuilds.org/repository/14.2/development/gcc-d/ [3] https://slackbuilds.org/slackbuilds/14.2/development/gcc-d/gcc-d.SlackBuild [4] http://thinkingeek.com/gcc-tiny/
Re: First Alexa D Skill is live
On Thursday, 18 May 2017 at 17:27:20 UTC, Fabian Wallentowitz wrote: Hey guys, Stephan (extrawurst) and me (fabsi88) have published the first Amazon Echo Alexa Skill based on D. It's called Enigma2 control and can be used for controlling your enigma based linux receiver via openwebif plugin. For further information see skill store (german only right now): https://www.amazon.de/dp/B01N4W07S4/ref=sr_1_1?s=digital-skills=UTF8=1495124694 and our developer page at github: https://github.com/alexa-d/alexa-openwebif See Stephans DConf17 Talk to get further technical / D-specific details: https://www.youtube.com/watch?v=DBxvNk1mgxA Fabian is it in German Alexa commands only?
DerelictSDL2 3.1.0-alpha.1
SDL 2.0.6 was just released [1], so I've updated DerelictSDL2 [2] to support it. It's available in DerelictSDL2 3.1.0-alpha.1. I've tested that the loader works, but beyond that I've done nothing with it. I also fixed some minor issues in the 3.0 branch, the latest release of which is 3.0.0-beta.7. The 3.0 series supports SDL 2.0.0 - SDL 2.0.5, and the 3.1 series supports SDL 2.0.0 - 2.0.6. The latter is currently not in the master branch (it's in the 3.1 branch), nor is it in the documentation. I'll move 3.1 development to master and update the docs once I pull it out of alpha. [1] https://discourse.libsdl.org/t/sdl-2-0-6-released/23109 [2] https://github.com/DerelictOrg/DerelictSDL2