December 14, 2011
Ellery Newcomer wrote:
> @F i L: gdcbuild seems to be a bit buggy. I'll update it here when I've
> gotten a build out of it.

Awesome. Thanks for your efforts!
December 14, 2011
On 14 December 2011 02:00, Ellery Newcomer <ellery-newcomer@utulsa.edu> wrote:
> On 12/13/2011 05:10 PM, Iain Buclaw wrote:
>>
>> That will probably be because of:
>>
>> PREFIX=`echo ~`/gdc3
>> ...
>> ./configure --prefix=$PREFIX
>>
>>
>> gdc will look in $PREFIX/include/d2 for the import files.
>>
>
> would setting --prefix=/usr/ and then running
>
> make install prefix=otherprefix
>
> be an effective workaround?
>

I think you mean:  make install DESTDIR=otherprefix
Yes, that is how you package software in debian, I'd imagine the same here. :-)


>
> also, for gdc rev 695, I'm getting a
>
> ../../gcc/d/d-glue.cc:3030:11: error: ‘struct function’ has no member named ‘naked’
>
> know what that's about?
>

GDC requires patches to be applied to GCC-proper.  See patch-gcc-4.6.x and patch-toplev-4.6.x


Regards,
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
December 14, 2011
F i L wrote:

> Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new to Linux in general but I use Fedora because it has LDC D2 in the software center and comes with a clean Gnome Shell (my favorite DE) by default. If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) so I think I'm a bit too green just yet. GCC seems to yield better overall runtime performance than LLVM so I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory.

I have a SRPM which patches and compiles Fedora's GCC package(s). It creates gcc-d (example: /home/dejan/var/rpm/RPMS/x86_64/gcc- d-4.5.1-4.fc14.x86_64.rpm ) RPM, and replaces system's gcc. I had no time to update it for use with later GCC because I decided to wait for GDC to be included in GCC, and then D will be in GCC anyway... :)

If you wish, I can update my SRPM and post it somewhere together with my .spec file.
December 15, 2011
On Wednesday, 14 December 2011 at 21:50:18 UTC, Dejan Lekic wrote:
> F i L wrote:
>
>> Any chance we might see a GDC Fedora .rpm at some point? I'm
>> relatively new to Linux in general but I use Fedora because it
>> has LDC D2 in the software center and comes with a clean Gnome
>> Shell (my favorite DE) by default. If I had more experience I'd
>> try to build one myself, only I just got GDC to compile a month
>> ago and I still don't know how to install it (like the LDC is
>> installed) so I think I'm a bit too green just yet. GCC seems to
>> yield better overall runtime performance than LLVM so I'd like to
>> easily be able to use GDC with Mono-D without having to Bash
>> "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the
>> gdc folder out of my Home directory.
>
> I have a SRPM which patches and compiles Fedora's GCC package(s). It creates gcc-d (example: /home/dejan/var/rpm/RPMS/x86_64/gcc-
> d-4.5.1-4.fc14.x86_64.rpm ) RPM, and replaces system's gcc. I had no time to update it for use with later GCC because I decided to wait for GDC to be included in GCC, and then D will be in GCC anyway... :)
>
> If you wish, I can update my SRPM and post it somewhere together with my .spec file.

Thanks for the offer but I think I'll just wait for the GDC to be included in the GCC as well. For now, I can use LDC and DMD with Mono-D fine and terminal compile with GDC when I want that extra umf.

Thanks for everyone's help and input on this.

1 2
Next ›   Last »