Re: Building GDC

2013-10-31 Thread Steve Teale
On Thursday, 31 October 2013 at 17:33:52 UTC, Steve Teale wrote: Mea Culpa. In attempting to install the prerequisites libmpc-dev libmpfr-dev libgmp3-dev I ended up building from the source code for these projects. Later, back to square one, I simply installed them using apt-get. Then the

Re: Building GDC

2013-10-31 Thread Steve Teale
Mea Culpa. In attempting to install the prerequisites libmpc-dev libmpfr-dev libgmp3-dev I ended up building from the source code for these projects. Later, back to square one, I simply installed them using apt-get. Then the build worked. Grovel, grovel, my apologies to those whose time I wa

Re: Building GDC

2013-10-31 Thread Steve Teale
On Thursday, 31 October 2013 at 12:49:38 UTC, Joseph Rushton Wakeling wrote: On 31/10/13 13:07, Steve Teale wrote: $CPATH and $LIBRARY_PATH were initially empty, and the build failed as decribed. I set them to the paths above, and the build failed in the same way. Did you try my detailed

Re: Building GDC

2013-10-31 Thread Steve Teale
Supposing that you're using $SOMEDIR/gdc to store everything, a rough description of the procedure would be: * Clone GDC master into gdc/dev * Unzip the GCC source into gdc, which will give you a subdirectory called gcc-$VERSION (currently gcc-4.8.2) * cd into gdc/dev and

Re: Building GDC

2013-10-31 Thread Steve Teale
On Thursday, 31 October 2013 at 11:46:25 UTC, Alexandr Druzhinin wrote: 31.10.2013 18:36, Steve Teale пишет: On Thursday, 31 October 2013 at 10:45:05 UTC, Joseph Rushton Wakeling wrote: On 31/10/13 11:31, Steve Teale wrote: so possibly the MPFR install put it in the wrong place. I will look

Re: Building GDC

2013-10-31 Thread Steve Teale
On Thursday, 31 October 2013 at 10:45:05 UTC, Joseph Rushton Wakeling wrote: On 31/10/13 11:31, Steve Teale wrote: so possibly the MPFR install put it in the wrong place. I will look for it. Where is the right place? What OS are you running? Ubuntu 12.04

Re: Building GDC

2013-10-31 Thread Steve Teale
Hello Steve, It's been a while since you've poked your head round here. ;-) This error message you are getting is quite misleading and frequently the problem has nothing to do with the message. You have to check the file 'config.log' in the directory where the error occurred. In the erro

Re: Building GDC

2013-10-31 Thread Steve Teale
OK, got all the tools installed and the build for GDC went on for some time, but eventually bombed out with: checking for suffix of object files... configure: error: in `/home/steve/gdc/objdir/i686-**pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile

Re: Building GDC

2013-10-31 Thread Steve Teale
On Wednesday, 30 October 2013 at 06:18:02 UTC, Alexandr Druzhinin wrote: 30.10.2013 11:58, Steve Teale пишет: I want to build gtkD. For that I need a version 2 GDC. Ubuntu is still on V2. Are there any clear build instructions available, or even a binary ;=) http://gdcproject.org/wiki

Building GDC

2013-10-29 Thread Steve Teale
I want to build gtkD. For that I need a version 2 GDC. Ubuntu is still on V2. Are there any clear build instructions available, or even a binary ;=)

Re: GDC Build Failing

2012-02-06 Thread Steve Teale
On Mon, 06 Feb 2012 16:31:40 +, Iain Buclaw wrote: >> > For Ubuntu and Debian, being that i386 and x86_64 (possibly others) are > multi-arch systems, you may need to set-up LIBRARY_PATH and CPATH. > > In ~/.bashrc: > > LIBRARY_PATH=/usr/lib/i386-linux-gnu > CPATH=/usr/include/i386-linux-gnu

Re: GDC Build Failing

2012-02-06 Thread Steve Teale
On Mon, 06 Feb 2012 13:17:00 +, Iain Buclaw wrote: > On 6 February 2012 12:50, Steve Teale > wrote: >> I'm having a failure compiling libgcc2.c - fatal error: gnu/stubs-32.h: >> No such file or directory. >> >> I got round that by copying the file from >

GDC Build Failing

2012-02-06 Thread Steve Teale
I'm having a failure compiling libgcc2.c - fatal error: gnu/stubs-32.h: No such file or directory. I got round that by copying the file from /usr/include/i386-linux-gnu/gnu intp /usr/include/gnu. Then the build goes on, but later I get get: checking dynamic linker characteristics... configure:

Re: GDC 4.4.3

2010-03-27 Thread Steve Teale
On Sat, 27 Mar 2010 10:52:25 +0100, Vincenzo Ampolo wrote: > Hi, > > can you please publish your efforts of make gdc running on 4.4.3? So we > can merge with the main branch. > > Thanks. Vincenzo, There are still outstanding problems, since I've tried to compile and run more programs I find th

Re: GDC 4.4.3

2010-03-21 Thread Steve Teale
On Sun, 21 Mar 2010 12:38:29 -0400, Michael P. wrote: > Steve Teale Wrote: > >> After some time, I have finally got GDC (DMD 2.015) to build and >> compile Phobos2 with GCC-4.4.3. >> >> So far I have only built and run hello world, and a couple of small >>

GDC 4.4.3

2010-03-20 Thread Steve Teale
After some time, I have finally got GDC (DMD 2.015) to build and compile Phobos2 with GCC-4.4.3. So far I have only built and run hello world, and a couple of small test programs I made to investigate problems I had patching GCC. However, it's a start. What do I use for testing it - DStress?

Re: D compiler as part of GCC

2010-03-09 Thread Steve Teale
On Sun, 07 Mar 2010 21:25:11 -0500, Jerry Quinn wrote: > Steve Teale Wrote: > >> > In general is there interest in this project, especially contributing >> > to it? >> > >> > I've been playing with writing one on my own in the meantime. I fully

Re: D compiler as part of GCC

2010-03-04 Thread Steve Teale
> In general is there interest in this project, especially contributing to > it? > Did anything come of this and the ensuing discussions? Steve

Re: GDC - who does what?

2010-01-22 Thread Steve Teale
Anders F Björklund Wrote: > >> I have been doing some GDC/GDB installers: > >> * http://gdcwin.sourceforge.net/ (MinGW) > >> * http://gdcgnu.sourceforge.net/ ("FSF") > >> * http://gdcmac.sourceforge.net/ (Apple) Anders, There's a bit of a clash between http://gdcwin.sourceforge.net/ and Ubuntu.

Re: GDC - who does what?

2010-01-22 Thread Steve Teale
Vincenzo Ampolo Wrote: > Well, thanks for your page, but please let's concentrate all the > informations about gdc in the gdc wiki in bitbucket. It's better for newbies > to have a single place with all the informations they need. > > Again, everyone is elegible to edit the wiki, just contact m

Re: GDC - who does what?

2010-01-21 Thread Steve Teale
Anders F Björklund Wrote: > > Sure, if you have a link to the BerliOS* bug report > or even better - patches, I'll try to include them. > * http://developer.berlios.de/projects/codeblocks/ > > --anders For whatever reason this post turned up with your name rendered correctly. My browser (Fire

Re: GDC - who does what?

2010-01-21 Thread Steve Teale
Anders F Bjöšrklund Wrote: > Steve Teale wrote: > > Anders, Michael, Vincento, I have made a start on the GDC-newbie page I was > > talking about. > > > > It's at http://www.britseyeview.com/GDC-newbie.html > > > > Please have a look and see if you

Re: Where to post bug report for Ubuntu GDC package

2010-01-21 Thread Steve Teale
Anders F Bjöšrklund Wrote: > Steve Teale wrote: > > BTW, what character set do you have selected on your browser - I've tried > > various on mine, but I can't get your name to render correctly. > > Either ISO-8859-1 (Latin-1) or UTF-8 (Unicode)... > Or

Re: Where to post bug report for Ubuntu GDC package

2010-01-21 Thread Steve Teale
Anders F Bj�rklund Wrote: > >> The following produces a segfault with GDC - works OK with DMD on same > >> machine. Where do I report it? > > > FWIW it "works" on Mac OS X. (trunk-r229) > > 00407ff0 > > 00407ff0 > > 00407ff0 > > in B > > 00407ff0 > > It also works with gdc-4.1, so it seems sp

Re: Where to post bug report for Ubuntu GDC package

2010-01-21 Thread Steve Teale
Anders F Bj�rklund Wrote: > >> The following produces a segfault with GDC - works OK with DMD on same > >> machine. Where do I report it? > > > FWIW it "works" on Mac OS X. (trunk-r229) > > 00407ff0 > > 00407ff0 > > 00407ff0 > > in B > > 00407ff0 > > It also works with gdc-4.1, so it seems sp

Re: GDC - who does what?

2010-01-21 Thread Steve Teale
Steve Teale Wrote: Anders, Michael, Vincento, I have made a start on the GDC-newbie page I was talking about. It's at http://www.britseyeview.com/GDC-newbie.html Please have a look and see if you think it is worth pursuing. Thanks, Steve

Re: GDC - who does what?

2010-01-20 Thread Steve Teale
Michael P. Wrote: > Steve Teale Wrote: > > > Anders, Michael, could you possibly post a summary of who does what with > > respect to GDC. > > > > There's clearly quite a bit of work going on, but it is difficult to pull > > together a picture of what

Re: GDC - who does what?

2010-01-20 Thread Steve Teale
Anders F Bj�rklund Wrote: > Steve Teale wrote: > > Anders, Michael, could you possibly post a summary of who does what with > > respect to GDC. > > I have been doing some GDC/GDB installers: > * http://gdcwin.sourceforge.net/ (MinGW) > * http://gdcgnu.source

Re: Where to post bug report for Ubuntu GDC package

2010-01-20 Thread Steve Teale
Vincenzo Ampolo Wrote: > Steve Teale wrote: > > > The following produces a segfault with GDC - works OK with DMD on same > > machine. Where do I report it? > > Hi, > > Poste it here please: http://bitbucket.org/goshawk/gdc/issues/ > Oh! So you are gos

GDC - who does what?

2010-01-20 Thread Steve Teale
Anders, Michael, could you possibly post a summary of who does what with respect to GDC. There's clearly quite a bit of work going on, but it is difficult to pull together a picture of what is happening. It would be useful if contact information for the parties involved could be included, if t

Re: 1.041 is now working

2010-01-20 Thread Steve Teale
Michael P. Wrote: > Just to let everyone now, I have got 1.041 as the latest front end now. Yipee! > Still don't think it's working with 4.3.4, but I haven't tested it. Has only > been tested on 4.1.2 on my Ubuntu 9.10 system. I'll try to get that fixed > soon. Will probably have to ask GCC devs

Re: Where to post bug report for Ubuntu GDC package

2010-01-19 Thread Steve Teale
Anders F Bj�rklund Wrote: > Steve Teale wrote: > > The following produces a segfault with GDC - works OK with DMD on same > > machine. Where do I report it? > > The official D Bugzilla does not accept GDC bugs any more: "Sorry, > entering an issue into the

dlopen() with GDC

2010-01-19 Thread Steve Teale
After a good deal of fiddling about, I got a shared library generated from D to load using dlopen() in a D program. The shared library was built from: int foo() { return 42; } gdc -c loaded.d gcc -shared -o liblddd.so loaded.o -lc The loader was - excluding a lot of error checking code: im

Where to post bug report for Ubuntu GDC package

2010-01-18 Thread Steve Teale
The following produces a segfault with GDC - works OK with DMD on same machine. Where do I report it? import std.stdio; class Bar { void bar(string s) {} } void foo(string s) { Bar b = new Bar(); writefln("%08x", cast(uint) b); void A(string as) { void B(string bs)