www.digitalmars.com         C & C++   DMDScript  

D.gnu - GDC 0.20 ? RPMS ?

reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Any news about updating to DMD 0.166 "RC" ?

Or about providing RPMs for Fedora Core 5 ?

--anders
Sep 11 2006
next sibling parent reply Lucas Goss <lgoss007 gmail.com> writes:
Anders F Björklund wrote:
 
 Any news about updating to DMD 0.166 "RC" ?
 
 Or about providing RPMs for Fedora Core 5 ?
 
 --anders

I was gonna ask about deb's but... Can't you use alien to convert it to rpm? I just did it for deb and it worked fine. First I had to convert the tar.bz2 to tar.gz (slackware format), but once it was in tar.gz alien made the deb package. lucas
Sep 15 2006
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Lucas Goss wrote:

 Can't you use alien to convert it to rpm? I just did it for deb and it 
 worked fine. First I had to convert the tar.bz2 to tar.gz (slackware 
 format), but once it was in tar.gz alien made the deb package.

Nah, I had made RPMs for Fedora Core 5 and just wondered if they could be posted to the "dgcc" project without me having to start a "gdcrpm"... :-) http://sf.net/tracker/index.php?func=detail&aid=1539137&group_id=154306&atid=791255 In your deb, did you just wrap the "gdc-0.19-linux-i386.tar.bz2" or did you compile the gcc/gdc from source code ? (I built mine, in my package) --anders
Sep 15 2006
next sibling parent Lucas Goss <lgoss007 gmail.com> writes:
Anders F Björklund wrote:
 In your deb, did you just wrap the "gdc-0.19-linux-i386.tar.bz2" or did
 you compile the gcc/gdc from source code ? (I built mine, in my package)
 
 --anders

No I didn't compile it. I just used alien to convert it from a slackware package to a debian package. I've looked at building packages from source, but I always run away once I look at the creation process. Seems like an awful lot of work just to copy files to bin, lib, and include (yes, I know it does more than that). lucas
Sep 16 2006
prev sibling parent reply Fredrik Olsson <peylow gmail.com> writes:
Vincenzo Ampolo skrev:
 On Fri, 2006-09-15 at 20:54 +0200, Anders F Björklund wrote:
 Nah, I had made RPMs for Fedora Core 5 and just wondered if they could
 be posted to the "dgcc" project without me having to start a
 "gdcrpm"... 

I'm working to creating a standard ubuntu/debian package for gdc compiling gcc from source. Have anybody done it yet?

use it and be grateful from day 1. It is apt we speak about right? You have to forgive my Linux unawarenes :). // Fredrik Olsson
Sep 20 2006
parent reply =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
Vincenzo Ampolo wrote:

 I've already done the configuration files but now the compiling process
 is stopped due to this bug:
 http://sourceforge.net/tracker/index.php?func=detail&aid=1561040&group_id=154306&atid=791252
 I hope that it will be fixed soon so the packages can be created...

Can't you use GCC 3.x ("compat") to bootstrap GDC with e.g. GCC 4.0.3 ? --anders
Sep 21 2006
parent reply =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
Vincenzo Ampolo wrote:

 Sure i can try it: i can use gcc-3.4 to compile gcc-4.0 with gdc
 support.
 Until now i tried to build gcc-4.0 with gdc support using gcc-4.0

I had to use GCC 3.2 - since GCC 4.1 doesn't work with GDC yet - it should work with GCC 4.0 but I think you had a patched version ? Anyway, bootstrapping GCC is a great way to make it run when the system compiler is either too old (Red Hat 7.3) or too new (FC 5) --anders
Sep 21 2006
parent =?UTF-8?B?QW5kZXJzIEYgQmrDtnJrbHVuZA==?= <afb algonet.se> writes:
Vincenzo Ampolo wrote:

I had to use GCC 3.2 - since GCC 4.1 doesn't work with GDC yet -
it should work with GCC 4.0 but I think you had a patched version ? 

Same error using gcc 3.4 to compile gcc 4.0

Is that the same error with the bad values for the arch and tune switches, or which ? ./../src/gcc/d/dmd/idgen.c:1: error: bad value () for -march= switch ../../src/gcc/d/dmd/idgen.c:1: error: bad value () for -mtune= switch I don't get that here, for either of -march=i386 or -mcpu=ppc flag settings. --anders
Sep 21 2006
prev sibling next sibling parent Vincenzo Ampolo <vincenzo.ampolo gmail.com> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, 2006-09-15 at 20:54 +0200, Anders F Bj=C3=B6rklund wrote:
 Nah, I had made RPMs for Fedora Core 5 and just wondered if they could
 be posted to the "dgcc" project without me having to start a
 "gdcrpm"...=20

I'm working to creating a standard ubuntu/debian package for gdc compiling gcc from source. Have anybody done it yet? --=20 Vincenzo Ampolo http://www.nanofreesoft.org http://vincenzoampolo.nanofreesoft.org http://idp.nanofreesoft.org
Sep 15 2006
prev sibling next sibling parent Vincenzo Ampolo <vincenzo.ampolo gmail.com> writes:
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2006-09-20 at 19:56 +0200, Fredrik Olsson wrote:
 Not that I know of, but I know of two people (not me included) that
 will=20
 use it and be grateful from day 1.
=20
 It is apt we speak about right? You have to forgive my Linux
 unawarenes :).
=20

Sure, something like: apt-get install gdc-4.0 and then you can use gdc on your system. I've already done the configuration files but now the compiling process is stopped due to this bug: http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1561040&group_= id=3D154306&atid=3D791252 I hope that it will be fixed soon so the packages can be created... --=20 Vincenzo Ampolo http://www.nanofreesoft.org http://vincenzoampolo.nanofreesoft.org http://idp.nanofreesoft.org
Sep 20 2006
prev sibling next sibling parent Vincenzo Ampolo <vincenzo.ampolo gmail.com> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-09-21 at 09:55 +0200, Anders F Bj=C3=B6rklund wrote:
 Can't you use GCC 3.x ("compat") to bootstrap GDC with e.g. GCC
 4.0.3 ?

Sure i can try it: i can use gcc-3.4 to compile gcc-4.0 with gdc support. Until now i tried to build gcc-4.0 with gdc support using gcc-4.0 Stay tuned! --=20 Vincenzo Ampolo http://www.nanofreesoft.org http://vincenzoampolo.nanofreesoft.org http://idp.nanofreesoft.org
Sep 21 2006
prev sibling next sibling parent Vincenzo Ampolo <vincenzo.ampolo gmail.com> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-09-21 at 14:06 +0200, Anders F Bj=C3=B6rklund wrote:
 I had to use GCC 3.2 - since GCC 4.1 doesn't work with GDC yet -
 it should work with GCC 4.0 but I think you had a patched version ?=20

Same error using gcc 3.4 to compile gcc 4.0 Yes, all the compilers are patched by debian, they are the default in the archive and they are used to compile the whole distro. I think that this problem is related with the code of dmd itself. btw i'm trying with gcc 3.2 and.. compiling debian patched gcc-4.0 using gcc-4.0 works (so if i don't compile gdc there are no errors) --=20 Vincenzo Ampolo http://www.nanofreesoft.org http://vincenzoampolo.nanofreesoft.org http://idp.nanofreesoft.org
Sep 21 2006
prev sibling next sibling parent =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb algonet.se> writes:
 Any news about updating to DMD 0.166 "RC" ?

Never mind, I'll just use rev20 from the SVN.
 Or about providing RPMs for Fedora Core 5 ?

Never mind, I'll just build and host my own... --anders
Sep 29 2006
prev sibling parent Vincenzo Ampolo <vincenzo.ampolo gmail.com> writes:
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, 2006-09-21 at 15:38 +0200, Anders F Bj=C3=B6rklund wrote:
 Is that the same error with the bad values
 for the arch and tune switches, or which ?
=20
 ./../src/gcc/d/dmd/idgen.c:1: error: bad value () for
 -march=3D switch
 ../../src/gcc/d/dmd/idgen.c:1: error: bad value () for
 -mtune=3D switch
=20
 I don't get that here, for either of
 -march=3Di386 or -mcpu=3Dppc flag settings.=20

Sorry for the late answer, but i had internet problems. It seems a problem related with cross compilation, i'll do more tests and i'll post results.. thanks... --=20 Vincenzo Ampolo http://www.nanofreesoft.org http://vincenzoampolo.nanofreesoft.org http://idp.nanofreesoft.org
Oct 04 2006