Re: Script for Building GDC from Source

2014-09-16 Thread eles via D.gnu
On Friday, 5 September 2014 at 15:49:22 UTC, Nordlöw wrote: Have anyone put together a build script for downloading/git-cloning and building a particular branch, say gdc-4.9, of GDC? Just throwing mine into the game: Attention: it really cleans up the git repositories (cloned from github) and

Re: What happened to GDMD

2014-02-21 Thread eles
On Friday, 21 February 2014 at 17:53:15 UTC, H. S. Teoh wrote: On Fri, Feb 21, 2014 at 04:20:34PM +, Iain Buclaw wrote: It's not quite ready to replace the current script yet, as a number of dmd options are still not handled (or not completely handled) yet. It would be nice if others coul

Re: Build failure with latest git

2013-12-03 Thread eles
On Tuesday, 3 December 2013 at 20:25:27 UTC, Iain Buclaw wrote: On 3 December 2013 19:42, eles wrote: On Tuesday, 3 December 2013 at 18:00:45 UTC, H. S. Teoh wrote: On Tue, Dec 03, 2013 at 07:54:43AM +, Iain Buclaw wrote: On 3 December 2013 00:12, H. S. Teoh wrote: > I did a git p

Re: Build failure with latest git

2013-12-03 Thread eles
On Tuesday, 3 December 2013 at 18:00:45 UTC, H. S. Teoh wrote: On Tue, Dec 03, 2013 at 07:54:43AM +, Iain Buclaw wrote: On 3 December 2013 00:12, H. S. Teoh wrote: > I did a git pull today from HEAD, and now gdc doesn't build > anymore: > > In file included from > /usr/src/d/gdc/

Re: colors in gdc errors

2013-10-07 Thread eles
On Monday, 7 October 2013 at 13:00:10 UTC, Dejan Lekic wrote: On Tuesday, 1 October 2013 at 11:49:54 UTC, eles wrote: On Tuesday, 1 October 2013 at 11:47:31 UTC, eles wrote: On Tuesday, 1 October 2013 at 09:57:38 UTC, Iain Buclaw wrote: On Oct 1, 2013 8:20 AM, "eles" wrote: On

Re: D in AVR backend

2013-10-01 Thread eles
On Saturday, 21 September 2013 at 20:00:27 UTC, Dmitry Olshansky wrote: *Just a bump for the OP to see it.*

Re: colors in gdc errors

2013-10-01 Thread eles
On Tuesday, 1 October 2013 at 11:47:31 UTC, eles wrote: On Tuesday, 1 October 2013 at 09:57:38 UTC, Iain Buclaw wrote: On Oct 1, 2013 8:20 AM, "eles" wrote: On Tuesday, 1 October 2013 at 03:36:09 UTC, Iain Buclaw wrote: On 3 September 2013 17:03, Iain Buclaw wrote: On 3 Sept

Re: colors in gdc errors

2013-10-01 Thread eles
On Tuesday, 1 October 2013 at 09:57:38 UTC, Iain Buclaw wrote: On Oct 1, 2013 8:20 AM, "eles" wrote: On Tuesday, 1 October 2013 at 03:36:09 UTC, Iain Buclaw wrote: On 3 September 2013 17:03, Iain Buclaw wrote: On 3 September 2013 16:54, eles wrote: It would be possible to

Re: colors in gdc errors

2013-10-01 Thread eles
On Tuesday, 1 October 2013 at 03:36:09 UTC, Iain Buclaw wrote: On 3 September 2013 17:03, Iain Buclaw wrote: On 3 September 2013 16:54, eles wrote: It would be possible to implement this for gdc, too: As for errors, only errors that go through the gcc error system shows in colours. So

Re: gdc on linux does not install druntime's .d files?

2013-09-24 Thread eles
On Tuesday, 24 September 2013 at 14:16:53 UTC, Johannes Pfau wrote: Am Tue, 24 Sep 2013 16:02:11 +0200 schrieb "eles" : Hi, After compiling/installing the HEAD version of gdc in /opt/gdc4.9, I have: [...] Those files should be in /opt/gdc-4.9/include/d/4.9.0/x86_64-unknown

gdc on linux does not install druntime's .d files?

2013-09-24 Thread eles
Hi, After compiling/installing the HEAD version of gdc in /opt/gdc4.9, I have: $ls /opt/gdc-4.9/include/d/4.9.0/ core crc32.d etc gcc object.di std x86_64-unknown-linux-gnu $ls /opt/gdc-4.9/include/d/4.9.0/std/ algorithm.dcsv.d mathspecial.d signals.d uni.d array.d

Re: D in AVR backend

2013-09-21 Thread eles
On Saturday, 21 September 2013 at 09:34:26 UTC, Marcelo wrote: Hello I've just successfully lit a LED with a atmega88 using GDC. (AVR is a 8bit micro controller with 16bits pointers) I had to change GDC to accept a zero critsize and implemented these stubs for volatile operations on the memmory

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 19:24:22 UTC, Ramon wrote: Let's be honest. D, as Iain correctly indicated, is a userland language Unfortunately, in this case, it brings to my actual workplace nothing more than does C#. And we already use the latter for GUI and so on. When really needed some p

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 17:09:03 UTC, Leandro Lucarella wrote: eles, el 6 de September a las 16:20 me escribiste: On Friday, 6 September 2013 at 14:09:15 UTC, Iain Buclaw wrote: >On 6 September 2013 14:13, Dicebot wrote: >>On Friday, 6 September 2013 at 12:25:56 UTC, e

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 13:47:47 UTC, Dicebot wrote: I think you need own light-weight runtime stubs linked with the binary. Adam has done some nice experiments in that direction : http://arsdnet.net/dcode/minimal.zip Thank you, you are kind, I hope to have an working example. But, wit

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 14:10:06 UTC, Iain Buclaw wrote: On 6 September 2013 14:34, eles wrote: On Friday, 6 September 2013 at 10:43:38 UTC, Iain Buclaw wrote: On 6 September 2013 10:35, eles wrote: *p=3; a=*p; 'p' should be marked as 'shared' in this instan

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 14:09:15 UTC, Iain Buclaw wrote: On 6 September 2013 14:13, Dicebot wrote: On Friday, 6 September 2013 at 12:25:56 UTC, eles wrote: On Friday, 6 September 2013 at 10:43:38 UTC, Iain Buclaw wrote: On 6 September 2013 10:35, eles wrote: And all I'm sayi

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 10:43:38 UTC, Iain Buclaw wrote: On 6 September 2013 10:35, eles wrote: Back to volatile the only (faintly close) alternative is 'shared'. After some thinking, it wasn't about synchronization between threads as the error message was misl

Re: d bare bones

2013-09-06 Thread eles
On Friday, 6 September 2013 at 10:43:38 UTC, Iain Buclaw wrote: On 6 September 2013 10:35, eles wrote: But there's no equivalent to volatile statements other than implementing your own low level thread library for use in kernel-land to allow synchronized to work properly. Frankly

Re: Newbie GDC issues

2013-09-06 Thread eles
On Friday, 6 September 2013 at 10:35:15 UTC, Iain Buclaw wrote: On 6 September 2013 10:15, eles wrote: On Friday, 6 September 2013 at 07:55:39 UTC, Iain Buclaw wrote: On 6 September 2013 08:32, eles wrote: On Thursday, 5 September 2013 at 23:49:18 UTC, Ramon wrote: I'll have to give

d bare bones

2013-09-06 Thread eles
I am starting a new thread, since I am afraid that the other one will become too cluttered with issues... It is about this OS kernel: http://wiki.osdev.org/D_Bare_Bones I tried to duplicate the steps. However, on my x86_64 machine, the actual commands that I had to use are: $nasm -f elf -o

Re: Newbie GDC issues

2013-09-06 Thread eles
On Friday, 6 September 2013 at 07:55:39 UTC, Iain Buclaw wrote: On 6 September 2013 08:32, eles wrote: On Thursday, 5 September 2013 at 23:49:18 UTC, Ramon wrote: In today's gdc implementation (back then I believe that was for D1) - you'd have to use -fno-emit-moduleinfo (mayb

Re: Newbie GDC issues

2013-09-06 Thread eles
On Thursday, 5 September 2013 at 23:49:18 UTC, Ramon wrote: On D's, and in particular GDC's, way to conquer the world there will evidently be many newbies to notice D, look at it, be drawn to it (and be happily trapped). I am such a newbie and the idea behind this thread is to collect all the

colors in gdc errors

2013-09-03 Thread eles
It would be possible to implement this for gdc, too: http://gcc.gnu.org/onlinedocs/gcc/Language-Independent-Options.html#index-fdiagnostics-color-239 ? Also, error messages more similar to those spitted out by gcc. Compare: test01.c:3:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__

Re: gcc 4.8.1 made it to Debian Sid

2013-07-22 Thread eles
On Friday, 19 July 2013 at 19:06:41 UTC, H. S. Teoh wrote: On Fri, Jul 19, 2013 at 10:53:27AM +0200, eles wrote: On Thursday, 18 July 2013 at 17:10:10 UTC, H. S. Teoh wrote: >On Thu, Jul 18, 2013 at 10:22:14AM +0200, eles wrote: >>On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. T

Re: gcc 4.8.1 made it to Debian Sid

2013-07-19 Thread eles
On Friday, 19 July 2013 at 19:35:21 UTC, Johannes Pfau wrote: Click edit. Now you can select target repository, target branch, source repository and source branch. (This is with the new github interface) Wow! It worked! Many thanks! Here's the result: https://github.com/quickfur/GDMD/pull/1/

Re: gcc 4.8.1 made it to Debian Sid

2013-07-19 Thread eles
On Thursday, 18 July 2013 at 17:10:10 UTC, H. S. Teoh wrote: On Thu, Jul 18, 2013 at 10:22:14AM +0200, eles wrote: On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote: >On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote: >>On Jul 11, 2013 1:28 AM, "H. S. Teoh&qu

Re: gcc 4.8.1 made it to Debian Sid

2013-07-18 Thread eles
On Friday, 5 July 2013 at 16:35:26 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 04:40 PM, eles wrote: On Friday, 5 July 2013 at 13:45:30 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 03:34 PM, eles wrote: I turned the instructions below in (quite-)general scripts: Then: cd

Re: gcc 4.8.1 made it to Debian Sid

2013-07-18 Thread eles
On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote: On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote: On Jul 11, 2013 1:28 AM, "H. S. Teoh" You're right, I'll have to rewrite gdmd.compile() to do everything in one go instead of compiling separately, as I have it now. Thi

Re: End of July Absences

2013-07-17 Thread eles
On Wednesday, 17 July 2013 at 07:59:49 UTC, Iain Buclaw wrote: Hi there, I will be away for a fortnight on an upcoming cycling tour Regards Iain. Bonnes vacances, Iain!

Re: gcc 4.8.1 made it to Debian Sid

2013-07-15 Thread eles
On Thursday, 11 July 2013 at 14:42:09 UTC, H. S. Teoh wrote: On Thu, Jul 11, 2013 at 08:09:33AM +0100, Iain Buclaw wrote: On Jul 11, 2013 1:28 AM, "H. S. Teoh" wrote: Heh, you're right, I misread the Perl script (or rather, didn't pay attention to that little flag named $combine). The original

Re: gcc 4.8.1 made it to Debian Sid

2013-07-10 Thread eles
On Wednesday, 10 July 2013 at 12:58:41 UTC, Iain Buclaw wrote: On 10 July 2013 13:14, eles wrote: On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote: Quick and unportable (Linux-only) drop-in replacement: Christ on a bike. What's wrong with: import std.file; import std.pr

Re: gcc 4.8.1 made it to Debian Sid

2013-07-10 Thread eles
On Wednesday, 10 July 2013 at 12:20:14 UTC, eles wrote: On Wednesday, 10 July 2013 at 12:14:39 UTC, eles wrote: On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote: On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton Wakeling wrote: On 07/10/2013 02:07 AM, H. S. Teoh wrote

Re: gcc 4.8.1 made it to Debian Sid

2013-07-10 Thread eles
On Wednesday, 10 July 2013 at 12:14:39 UTC, eles wrote: On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote: On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton Wakeling wrote: On 07/10/2013 02:07 AM, H. S. Teoh wrote: Comments / flames / pull requests welcome. ;-) string

Re: gcc 4.8.1 made it to Debian Sid

2013-07-10 Thread eles
On Wednesday, 10 July 2013 at 12:03:06 UTC, eles wrote: On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton Wakeling wrote: On 07/10/2013 02:07 AM, H. S. Teoh wrote: Comments / flames / pull requests welcome. ;-) string findGDC(string argv0) { // FIXME: this does not work

Re: gcc 4.8.1 made it to Debian Sid

2013-07-10 Thread eles
On Wednesday, 10 July 2013 at 10:24:17 UTC, Joseph Rushton Wakeling wrote: On 07/10/2013 02:07 AM, H. S. Teoh wrote: Comments / flames / pull requests welcome. ;-) string findGDC(string argv0) { // FIXME: this does not work 100% of the time. auto c = match(baseName(argv

Re: gcc 4.8.1 made it to Debian Sid

2013-07-08 Thread eles
On Friday, 5 July 2013 at 18:12:35 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 08:03 PM, H. S. Teoh wrote: Wait, we're trying to D-ify gdmd? It was a suggestion of Iain's when he forked it off into a separate repo. Seems like a good idea -- demonstrates D's capabilities, probably make

Re: gcc 4.8.1 made it to Debian Sid

2013-07-08 Thread eles
On Friday, 5 July 2013 at 16:35:26 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 04:40 PM, eles wrote: On Friday, 5 July 2013 at 13:45:30 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 03:34 PM, eles wrote: Ubuntu 13.04. I have also compiled GDC successfully using 4.8.1 on a cluster

Re: gcc 4.8.1 made it to Debian Sid

2013-07-05 Thread eles
On Friday, 5 July 2013 at 13:45:30 UTC, Joseph Rushton Wakeling wrote: On 07/05/2013 03:34 PM, eles wrote: Ubuntu 13.04. I have also compiled GDC successfully using 4.8.1 on a cluster in my office which runs Ubuntu 12.04. Ubuntu 13.10-x86_64 here (alpha). Do you use these instructions

Re: [Bug 68] BigInt declaration is not recognized

2013-07-05 Thread eles
On Wednesday, 3 July 2013 at 12:44:56 UTC, Iain Buclaw wrote: http://bugzilla.gdcproject.org/show_bug.cgi?id=68 Iain Buclaw changed: What|Removed |Added Status|NEW

Re: gcc 4.8.1 made it to Debian Sid

2013-07-05 Thread eles
On Wednesday, 5 June 2013 at 15:55:51 UTC, Joseph Rushton Wakeling wrote: On 06/05/2013 05:44 PM, eles wrote: master currently compiles against gcc-4.8.1, at least on my system :-) You are lucky. I did not succeed in compiling the gdc master/HEAD on my Linux box,a t least not fully. What

Re: [Bug 63] New: c++ compiler built even when --disable-bootstrap is given

2013-06-16 Thread eles
True. It makes building new versions of gdc very costly. On Sunday, 16 June 2013 at 09:23:30 UTC, bra...@puremagic.com wrote: http://bugzilla.gdcproject.org/show_bug.cgi?id=63 Bug #: 63 Summary: c++ compiler built even when --disable-bootstrap is g

Re: GDC D.2.063 merge

2013-06-13 Thread eles
A big THANKS for updating the gdc in the gdc-4.8 package on Ubuntu Saucy to GDC June 10. I look forward for the next update. On Thursday, 13 June 2013 at 08:53:13 UTC, Iain Buclaw wrote: Before anyone who's testing / using the development sources of gdc raises any issues, yes there are some p

Re: setup-gcc.sh

2013-06-07 Thread eles
On Friday, 7 June 2013 at 16:07:46 UTC, Iain Buclaw wrote: On 7 June 2013 16:28, eles wrote: On Friday, 7 June 2013 at 14:07:27 UTC, Iain Buclaw wrote: On 7 June 2013 13:26, eles wrote: So you must remove these by hand. If it doesn't give that error to you, let me know. =) Shou

Re: setup-gcc.sh

2013-06-07 Thread eles
On Friday, 7 June 2013 at 14:07:27 UTC, Iain Buclaw wrote: On 7 June 2013 13:26, eles wrote: The gcc/d folder is symlinked to the gdc sources, so any updates in gdc will reflect in the gcc/d tree. I think there is a confusion. The code that I quoted used to workk with gcc-4.8 (4.8.0

setup-gcc.sh

2013-06-07 Thread eles
Hello, What is the purpose of this code in setup-gcc.sh? # 1. Remove d sources from d_gccsrc if already exist test -h "$d_gccsrc/gcc/d" && rm "$d_gccsrc/gcc/d" test -d "$d_gccsrc/libphobos" && rm -r "$d_gccsrc/libphobos" if test -e "$d_gccsrc/gcc/d" -o -e "$d_gccsrc/libphobos"; then echo "e

gcc 4.8.1 made it to Debian Sid

2013-06-05 Thread eles
and into Ubuntu Saucy. Is the corresponding gdc-4.8.1 package (http://packages.debian.org/sid/gdc-4.8) improved with respect to the previous gdc-4.8? The changelog of gdc-4.8.1 only show info about the gcc. BTW, why the gdc-4.8 git branch is no longer updated? We should compile master only

Re: Compile X Window Manager

2013-05-22 Thread eles
On Tuesday, 21 May 2013 at 17:20:37 UTC, Mike Wey wrote: On 05/21/2013 03:06 PM, Samms wrote: On Tuesday, 21 May 2013 at 12:46:35 UTC, eles wrote: On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote: On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote: On Tuesday, 21 May 2013 at 06:59:55

Re: Compile X Window Manager

2013-05-21 Thread eles
On Tuesday, 21 May 2013 at 12:36:27 UTC, Samms wrote: On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote: On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote: On 21 May 2013 04:58, Samms wrote: This problem is resolved... I know. I was offering a simpler solution (command line

Re: Compile X Window Manager

2013-05-21 Thread eles
On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote: On 21 May 2013 04:58, Samms wrote: Basically, the command line should be: gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o Refuja -L/usr/include/X11/ -lXlib -lX11 with the "-L/usr/include/X11/" part being almost useless (m

Re: shared libraries support in gdc and gdc compilation

2013-05-17 Thread eles
On Friday, 17 May 2013 at 06:22:02 UTC, Johannes Pfau wrote: Am Thu, 16 May 2013 22:21:03 +0100 schrieb Iain Buclaw : Maybe you could help with the unittests passing also. =) Yep. Thank you to both of you, guys.

Re: shared libraries support in gdc and gdc compilation

2013-05-16 Thread eles
On Thursday, 16 May 2013 at 13:56:14 UTC, Johannes Pfau wrote: By the way, thank you for the answers.

Re: shared libraries support in gdc and gdc compilation

2013-05-16 Thread eles
Just tested with the gdc-4.8 branch: -> gdc -O0 -g "main.d"-o "/home/e_ftotir/monodevelop-workspace/dtest/bin/Debug/dtest" Error: cannot find source code for runtime library file 'object.d' dmd might not be correctly installed. Run 'dmd -man' for installation instructions. Do you

shared libraries support in gdc and gdc compilation

2013-05-16 Thread eles
? Thanks, eles

gcc 4.8 release

2013-03-31 Thread eles
GCC 4.8 release is out in the wild since 22 March. Is GDC an official part of it?

GDC install guide

2013-03-25 Thread eles
The install guide at: http://gdcproject.org/wiki/Installation is wrong/outdated, at least for Ubuntu. Several issues: # apt-get source gcc-4.7 # this installs the GCC tarballs in /usr/src/gcc-4.7/gcc-4.7-4.7.2 is not true. The sources are installed in the current directory, not in /usr

Re: D.2.062 merge

2013-02-20 Thread eles
On Tuesday, 19 February 2013 at 11:33:59 UTC, Iain Buclaw wrote: On 18 February 2013 08:16, Iain Buclaw wrote: I have it in the works to replace these areas in gdc (see thread on removing toobj, typinf, and todt) - but it looks like things will be worse before they start improving again on t

Re: GDC merge status

2013-02-14 Thread eles
re-bump