unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to get libtool for gcc-9?
@ 2020-02-03 22:14 Moritz Lell
  2020-02-12 14:19 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Lell @ 2020-02-03 22:14 UTC (permalink / raw)
  To: help-guix

Hello,

When I use an environment like

    LC_ALL=C guix environment --ad-hoc \
      gcc-toolchain libtool grep which coreutils

I get

    gcc --version | head -n1
    # gcc (GCC) 9.2.0

but libtool looks for gcc-7.4.0 libraries:

    grep 'gcc-.*\ ' `which libtool` | sed 's/ /\n  /g'

    # sys_lib_search_path_spec="[...]
    #   /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]"
    # compiler_lib_search_dirs=" [...]
    #   /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]"
    # postdep_objects=\
    #  "/gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]
    #  compiler_lib_search_path="[...]
    #  -L/gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/
    #  [...]"


How can I get a libtool that uses the libraries of gcc-9.2.0?

Best,
Moritz

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to get libtool for gcc-9?
  2020-02-03 22:14 How to get libtool for gcc-9? Moritz Lell
@ 2020-02-12 14:19 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2020-02-12 14:19 UTC (permalink / raw)
  To: Moritz Lell; +Cc: help-guix

Hi Moritz,

Moritz Lell <mlell@posteo.de> skribis:

> but libtool looks for gcc-7.4.0 libraries:
>
>     grep 'gcc-.*\ ' `which libtool` | sed 's/ /\n  /g'
>
>     # sys_lib_search_path_spec="[...]
>     #   /gnu/store/2plcy91lypnbbysb18ymnhaw3zwk8pg1-gcc-7.4.0-lib/[...]"

The ‘libtool’ executable provided by the ‘libtool’ package doesn’t
really matter.

Normally, Libtool is copied in package sources using ‘libtoolize’; only
when you run ./configure is a ‘libtool’ script generated for the program
you’re about to build.

HTH!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-12 14:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-03 22:14 How to get libtool for gcc-9? Moritz Lell
2020-02-12 14:19 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).