[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC language front-ends

From: Ludovic Courtès
Subject: GCC language front-ends
Date: Wed, 04 Jun 2014 23:34:33 +0200
User-agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> gcc-objc++-4.8.2.mips64el-linux fails to be built because of:
> building of 
> `/gnu/store/avdn8phqm44v33p6k42pipybcgjs92mb-gcc-objc++-4.8.2.drv' timed out 
> after 72000 seconds
> @ build-failed 
> /gnu/store/avdn8phqm44v33p6k42pipybcgjs92mb-gcc-objc++-4.8.2.drv - timeout
> I think it simply takes more than 12 hours...

Ahah.  :-)

> Do you think there might be a way of compiling all gcc languages in one go
> instead of in several packages? Maybe enable all languages in gcc? Or would
> this create too big a gcc package?

That would be too big.  Plus, when you say “all”, do you really mean Ada
and Java for instance?  These make things definitely bigger.

> Also, maybe we could drop one of the three gcc versions.

The default package does C and C++.  We could imagine another one that
would in addition to Objective-C and FORTRAN, yes.  That would save
build time, at the expense of being somewhat confusing to the user IMO.

> And finally, why are there two gcc-4.8.2 packages, and where are they 
> actually?
> $ guix package -A gcc
> gcc     4.7.3   out     gnu/packages/gcc.scm:95:4
> gcc     4.8.2   out     gnu/packages/gcc.scm:95:4
> gcc     4.9.0   out     gnu/packages/gcc.scm:95:4
> gcc     4.8.2   out     gnu/packages/gcc.scm:95:4

One of the GCC 4.8.2 is ‘gcc-final’ in base.scm.

> Is there a way of printing not the line 95 in which the base gcc package is
> defined from which all others inherit, but the line where the actual package
> is defined?

Yes, good idea.

I’ve just committed this patch:

--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -971,6 +971,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a 
   ;; The final GCC.
   (package (inherit gcc-boot0)
     (name "gcc")
+    (location (source-properties->location (current-source-location)))
      `(#:guile ,%bootstrap-guile
        #:implicit-inputs? #f

reply via email to

[Prev in Thread] Current Thread [Next in Thread]