[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: news: Add entry for '--with-debug-info'.
From: |
guix-commits |
Subject: |
11/11: news: Add entry for '--with-debug-info'. |
Date: |
Tue, 20 Oct 2020 10:32:11 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 5f92f51955d758e501d76a271a9fa4aa77ed3c0f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 20 09:59:47 2020 +0200
news: Add entry for '--with-debug-info'.
* etc/news.scm: Add entry.
---
etc/news.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/etc/news.scm b/etc/news.scm
index f1887b6..e9c6589 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -18,6 +18,42 @@
(channel-news
(version 0)
+ (entry (commit "6aeda81602555fbeac0c0a209e74f5262093b513")
+ (title (en "New @option{--with-debug-info} package transformation
option")
+ (fr "Nouvelle option de transformation
@option{--with-debug-info}"))
+ (body
+ (en "The new @option{--with-debug-info} option builds a variant of a
+package that includes debug info and grafts it onto the application you want
+to debug. Thus, only the package for which you want debug info needs to be
+recompiled. This is useful for packages that do not already have a
+@code{debug} output.
+
+For example, here is how you would obtain debug info for the @code{glib}
+library so you can inspect it while debugging Inkscape:
+
+@example
+guix build --with-debug-info=glib inkscape
+@end example
+
+Run @command{info \"(guix) Package Transformation Options\"} for more info.")
+ (fr "La nouvelle option de transformation de paquets
+@option{--with-debug-info} compile une variante d'un paquet avec les
+informations de déboguage et la greffe sur l'application que l'on veut
+déboguer. Ainsi seul le paquet pour lequel on demande des informations de
+déboguage a besoin d'être recompilé. C'est utile pour les paquets n'ayant pas
+déjà un résultat @code{debug}.
+
+Voici par exemple comment obtenir des informations de déboguage pour la
+bibliothèque @code{glib} de manière à pouvoir l'inspecter quand on débuggue
+Inkscape :
+
+@example
+guix build --with-debug-info=glib inkscape
+@end example
+
+Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour
+plus de détails.")))
+
(entry (commit "abd7a474615353149a44f4504f0b4b248dcc0716")
(title (en "New @option{--with-c-toolchain} package transformation
option")
(de "Neue Paketumwandlungsoption @option{--with-c-toolchain}")
- branch master updated (6ea61b4 -> 5f92f51), guix-commits, 2020/10/20
- 02/11: doc: Replace @example with @lisp in "Build Phases"., guix-commits, 2020/10/20
- 01/11: download: Update docstring., guix-commits, 2020/10/20
- 04/11: gnu: guile2.0-git: Remove now unnecessary libgit2 special case., guix-commits, 2020/10/20
- 05/11: packages: Better preserve object identity when rewriting., guix-commits, 2020/10/20
- 07/11: graph: Fix typo in docstring., guix-commits, 2020/10/20
- 03/11: graph: Adjust test for recent OCaml changes., guix-commits, 2020/10/20
- 08/11: tests: Do not fetch and print the random seed from the top level., guix-commits, 2020/10/20
- 09/11: guix build: Add '--with-debug-info'., guix-commits, 2020/10/20
- 11/11: news: Add entry for '--with-debug-info'.,
guix-commits <=
- 06/11: gnu: poppler: Always use the same 'cairo-sans-poppler' variant., guix-commits, 2020/10/20
- 10/11: guix build: Move package transformation options behind '--help-transform'., guix-commits, 2020/10/20