Re: [PATCH] Add libiberty.

2015-06-29 Thread Ludovic Courtès
Ricardo Wurmus skribis: > Alas, the current default (4.9) does not install "libiberty.a". That is > why I wrote the function "make-libiberty" to generate a "libiberty" > package given a certain version of GCC. For "powertabeditor" I just > want to use the current defaults for both GCC and "libi

Re: [PATCH] Add libiberty.

2015-06-29 Thread Ricardo Wurmus
>> Following the GCC version automatically dependent on whatever value the >> variable "gcc" has is just a bonus to simplify upgrades to the default >> version of GCC (as the recent move from 4.8 to 4.9). > > I don’t get it. If we use ‘gcc’ instead of ‘gcc-4.8’, it doesn’t work, > because ‘gcc’ is

Re: [PATCH] Add libiberty.

2015-06-29 Thread Ludovic Courtès
Ricardo Wurmus skribis: > +(define-public libiberty > + (make-libiberty gcc)) s/gcc/gcc-4.8/ if 4.8 is the last package installing it. >>> >>> I wanted to provide a default libiberty package for the default “gcc”. >>> Otherwise any change to the default GCC version would requir

Re: [PATCH] Add libiberty.

2015-06-28 Thread Ricardo Wurmus
+(define-public libiberty + (make-libiberty gcc)) >>> >>> s/gcc/gcc-4.8/ if 4.8 is the last package installing it. >> >> I wanted to provide a default libiberty package for the default “gcc”. >> Otherwise any change to the default GCC version would require packages >> to update their li

Re: [PATCH] Add libiberty.

2015-06-28 Thread Ludovic Courtès
Ricardo Wurmus skribis: >>> +(synopsis "Collection of subroutines used by various GNU programs"))) >> >> Maybe add a short description. > > Okay. > >>> +(define-public libiberty >>> + (make-libiberty gcc)) >> >> s/gcc/gcc-4.8/ if 4.8 is the last package installing it. > > I wanted to provide

Re: [PATCH] Add libiberty.

2015-06-28 Thread Ricardo Wurmus
>> +(synopsis "Collection of subroutines used by various GNU programs"))) > > Maybe add a short description. Okay. >> +(define-public libiberty >> + (make-libiberty gcc)) > > s/gcc/gcc-4.8/ if 4.8 is the last package installing it. I wanted to provide a default libiberty package for the def

Re: [PATCH] Add libiberty.

2015-06-28 Thread Ludovic Courtès
Ricardo Wurmus skribis: > From 848a6b91a48abcfdc2eb0d9bbde6a0f22b019090 Mon Sep 17 00:00:00 2001 > From: Ricardo Wurmus > Date: Sat, 27 Jun 2015 11:47:04 +0200 > Subject: [PATCH] gnu: Add libiberty. > > * gnu/packages/gcc.scm (make-libiberty, libiberty): New variables. It’s a problem that so ma