Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
March 10, 2008 GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Subversion updated to DMD 1.024 / 2.008. David |
March 10, 2008 Re: GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | 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! |
March 10, 2008 Re: GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman | 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
|
March 10, 2008 Re: GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Posted in reply to nobody | 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!
>
|
March 10, 2008 Re: GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Friedman |
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!
> >
|
March 10, 2008 Re: GDC svn: Updated to 1.024 / 2.008 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Anders F Björklund | 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
|
Copyright © 1999-2021 by the D Language Foundation