www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC svn: Updated to 1.024 / 2.008

reply David Friedman <dvdfrdmn users.ess-eff.net> writes:
Subversion updated to DMD 1.024 / 2.008.

David
Mar 09 2008
next sibling parent reply nobody <nobody impossible.de> writes:
David Friedman Wrote:

 Subversion updated to DMD 1.024 / 2.008.
 
 David
Hello, i have checkout the new version from SVN with svn co https://dgcc.svn.sourceforge.net/svnroot/dgcc dgcc I build succsesfully the gdc, but the libphobos library make problems: ~/D/gcc-4.1.2/libphobos./configure --prefix=/usr/local/gcc-4.1.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking If gcc can compile D sources... gcc: spec failure: unrecognized spec option 'N' actest.d:0: error: bad value (generic) for -mtune= switch no configure: error: can't compile D sources!
Mar 10 2008
parent reply David Friedman <dvdfrdmn users.ess-eff.net> writes:
The library is meant to be built as part of GCC.  If you want to build 
it separately, you will need to take some extra steps.  First, you will 
probably need to change

	GDC=`echo $CC | sed s/xgcc/gdc/`

in the configure script to something like

	GDC=`which gdc`

I would also look at the config.status generated by the full GDC build 
to see what kinds of arguments you need to pass to the configure script.

David

nobody wrote:
 David Friedman Wrote:
 
 Subversion updated to DMD 1.024 / 2.008.

 David
Hello, i have checkout the new version from SVN with svn co https://dgcc.svn.sourceforge.net/svnroot/dgcc dgcc I build succsesfully the gdc, but the libphobos library make problems: ~/D/gcc-4.1.2/libphobos./configure --prefix=/usr/local/gcc-4.1.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking If gcc can compile D sources... gcc: spec failure: unrecognized spec option 'N' actest.d:0: error: bad value (generic) for -mtune= switch no configure: error: can't compile D sources!
Mar 10 2008
parent nobody <nobody impossible.de> writes:
Thank you for your advice, i must change my notes ;-)
All compiles and run fine.


David Friedman Wrote:

 The library is meant to be built as part of GCC.  If you want to build 
 it separately, you will need to take some extra steps.  First, you will 
 probably need to change
 
 	GDC=`echo $CC | sed s/xgcc/gdc/`
 
 in the configure script to something like
 
 	GDC=`which gdc`
 
 I would also look at the config.status generated by the full GDC build 
 to see what kinds of arguments you need to pass to the configure script.
 
 David
 
 nobody wrote:
 David Friedman Wrote:
 
 Subversion updated to DMD 1.024 / 2.008.

 David
Hello, i have checkout the new version from SVN with svn co https://dgcc.svn.sourceforge.net/svnroot/dgcc dgcc I build succsesfully the gdc, but the libphobos library make problems: ~/D/gcc-4.1.2/libphobos./configure --prefix=/usr/local/gcc-4.1.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking If gcc can compile D sources... gcc: spec failure: unrecognized spec option 'N' actest.d:0: error: bad value (generic) for -mtune= switch no configure: error: can't compile D sources!
Mar 10 2008
prev sibling parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
David Friedman wrote:

 Subversion updated to DMD 1.024 / 2.008.
Good news! Did you get a chance to look at the GCC 4.2 patches from Debian/Ubuntu too ? --anders
Mar 10 2008
parent David Friedman <dvdfrdmn users.ess-eff.net> writes:
Anders F Björklund wrote:
 David Friedman wrote:
 
 Subversion updated to DMD 1.024 / 2.008.
Good news! Did you get a chance to look at the GCC 4.2 patches from Debian/Ubuntu too ? --anders
Yes, I saw the earlier post. I'll check it out. David
Mar 10 2008