Re: Building GDC

2016-03-03 Thread asdf via D.gnu
On Wednesday, 2 March 2016 at 20:54:54 UTC, Iain Buclaw wrote: On 2 Mar 2016 9:09 pm, "asdf via D.gnu" wrote: Are there build instructions that don't involve building the rest of GCC at the same time? I realize wrong version mismatches are bad but I'll redo it until it works lol! Sorry, no

Re: Building GDC

2016-03-02 Thread Iain Buclaw via D.gnu
On 2 Mar 2016 9:09 pm, "asdf via D.gnu" wrote: > > Are there build instructions that don't involve building the rest of GCC at the same time? I realize wrong version mismatches are bad but I'll redo it until it works lol! Sorry, no. GCC isn't a library that you can just link to. You need to bui

Re: Building GDC

2016-03-02 Thread Sebastien Alaiwan via D.gnu
On 2016-03-02 07:47, asdf via D.gnu wrote: > Are there build instructions that don't involve building the rest of GCC at > the same time? I realize wrong version mismatches are bad but I'll redo it > until it works lol! I don't think so. Blame the legendary GCC modularity! I wrote a simple scrip

Re: Building GDC

2013-11-01 Thread Iain Buclaw
On 31 October 2013 18:38, Steve Teale wrote: > 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. >> >>

Re: Building GDC

2013-11-01 Thread Joseph Rushton Wakeling
On 31/10/13 19:38, Steve Teale wrote: My recipe can be found at britseyeview.com/software/buildGDC.txt I hope this will save others some grief. Nice writeup! :-) One thing -- about tweaking the PATH variable -- I find it useful to have a little script for this, /etc/profile.d/opt.sh : for

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 H. S. Teoh
On Thu, Oct 31, 2013 at 06:33:50PM +0100, 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-g

Re: Building GDC

2013-10-31 Thread Joseph Rushton Wakeling
On 31/10/13 18:33, Steve Teale wrote: Mea Culpa. Don't worry about it. It's always good to know how builds can go wrong for people, because that helps the next person who runs into difficulty. Glad you finally got it built! :-)

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 Joseph Rushton Wakeling
On 31/10/13 13:45, Steve Teale wrote: There are xgcc errors, and a shared library for MPFR that can't be found. This is a guess, but ... as it looks like the build process might be being incorrectly configured, are there any warnings in the log about needing different versions of automake, et

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 list

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 Joseph Rushton Wakeling
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 list of instructions for building using GCC 4.8 sources?

Re: Building GDC

2013-10-31 Thread John Colvin
On Thursday, 31 October 2013 at 11:54:14 UTC, Joseph Rushton Wakeling wrote: On 31/10/13 12:46, Alexandr Druzhinin wrote: Ubuntu 12.04 x86_64 user here, I build gdc 4.8.1 following instructions I link above without issues, so I don't know what to do - but I'm sure it's possible :) P.S. I have

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 Joseph Rushton Wakeling
On 31/10/13 12:46, Alexandr Druzhinin wrote: Ubuntu 12.04 x86_64 user here, I build gdc 4.8.1 following instructions I link above without issues, so I don't know what to do - but I'm sure it's possible :) P.S. I have mpfr in /usr/lib/x86_64-linux-gnu/ In my case the 12.04 build platform was 64

Re: Building GDC

2013-10-31 Thread Joseph Rushton Wakeling
On 31/10/13 12:36, Steve Teale wrote: 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.0

Re: Building GDC

2013-10-31 Thread Alexandr Druzhinin
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 for it. Where is the right place? What OS are you running? Ubuntu 12.04

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 Joseph Rushton Wakeling
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?

Re: Building GDC

2013-10-31 Thread Joseph Rushton Wakeling
On 31/10/13 09:59, Iain Buclaw wrote: In Ubuntu, even if these packages are installed, they are put into multiarch directories which vanilla GCC isn't aware of. Has not been my experience for GCC 4.8+. I don't think I have any custom CPATH or LPATH settings on my Ubuntu 13.10 system.

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 Iain Buclaw
On 31 October 2013 08:34, Steve Teale wrote: > 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

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/Install

Re: Building GDC

2013-10-29 Thread Alexandr Druzhinin
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/Installation/General to build from source. Binary exists, but it's better to build

Re: building gdc on Debian 64-bit (wheezy)

2011-10-30 Thread Trass3r
This did not help with my particular issue. For some reason I'm getting those cross-compile errors. Are there any CFLAGS you use? I've tried building w/gcc-4.6.1 and gcc-4.4.6. No. I only needed to set these 2 variables to make it work on Ubuntu 11.10

Re: building gdc on Debian 64-bit (wheezy)

2011-10-30 Thread Trass3r
export $CPATH=/usr/include/x86_64-linux-gnu Of course it's export CPATH=/usr/include/x86_64-linux-gnu

Re: building gdc on Debian 64-bit (wheezy)

2011-10-29 Thread Brad L
Trass3r Wrote: > export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu > export $CPATH=/usr/include/x86_64-linux-gnu Thanks for the reply. This did not help with my particular issue. For some reason I'm getting those cross-compile errors. Are there any CFLAGS you use? I've tried building w/gcc-4.6.1

Re: building gdc on Debian 64-bit (wheezy)

2011-10-29 Thread Trass3r
export LIBRARY_PATH=/usr/lib/x86_64-linux-gnu export $CPATH=/usr/include/x86_64-linux-gnu

Re: Building GDC on Ubuntu

2011-05-24 Thread Jérôme M. Berger
Don wrote: > I really want to use D but I'm constantly frustrated by issues just > like this. > > I get the same error message on 64 bit Ubunutu 10.10 as well. > Have you tried adding "CC=$(which gcc)" to your configure command line? Jerome -- mailto:jeber...@free.fr htt

Re: Building GDC on Ubuntu

2011-05-23 Thread Adam Burton
Don wrote: > I really want to use D but I'm constantly frustrated by issues just > like this. > > I get the same error message on 64 bit Ubunutu 10.10 as well. > > I do plan to stick with it and when D is within 5% of the speed of gcc > for my type of application (computer chess) I'm switching.

Re: Building GDC on Ubuntu

2011-05-23 Thread Adam Burton
Trass3r wrote: > What about Iain's ppa: https://launchpad.net/~ibuclaw/+archive/ppa I've not tested it but these looks like D1 packages rather than D2 (based on the contents of std in libphobos packages).

Re: Building GDC on Ubuntu

2011-05-23 Thread Trass3r
What about Iain's ppa: https://launchpad.net/~ibuclaw/+archive/ppa

Re: Building GDC on Ubuntu

2011-05-22 Thread Don
I really want to use D but I'm constantly frustrated by issues just like this. I get the same error message on 64 bit Ubunutu 10.10 as well. I do plan to stick with it and when D is within 5% of the speed of gcc for my type of application (computer chess) I'm switching. Sorry I cannot be of more

Re: Building GDC on Ubuntu

2011-04-20 Thread edam
Jérôme M. Berger Wrote: > I am going to take a bet that you have "." in your path. If that is > the case, you need to add "CC=$(which gcc)" to your configure > command line (and it is not something you are doing wrong, it is a > bug in gcc). That worked! Jérôme, you are a star! Thank yo

Re: Building GDC on Ubuntu

2011-04-20 Thread Jérôme M. Berger
edam wrote: > Hi there, > > I'm trying to follow the instructions at > https://bitbucket.org/goshawk/gdc/wiki/Home to build GDC from the mercurial > repos, but I've not been successful. Not being familiar with the GCC build > process myself, I was wondering if anyone could shed a bit of light o