[<<][nixos][>>][..]
Sun Nov 10 21:02:27 EST 2019

nix-shell + genericBuild

Just CD to an empty temp dir.

Trying that, and it fails for the the same thing.  Somehow the install
arget for readline doesn't do anything.

make[2]: Entering directory '/home/tom/exo/nix/arm-eabi-gdb/tmp/gdb-7.12.1/readline'
make[2]: Nothing to be done for 'install'.

No that's intentional.  The readline packaged with gdb doesn't install.

It just doesn't generate the .a

If I do it by hand (make libreadline.a) it works.

This is odd:

make[2]: Entering directory '/home/tom/exo/nix/arm-eabi-gdb/tmp/gdb-7.12.1/readline'
make[2]: Nothing to be done for 'all'.

The TARGETS variable is empty.

The .am contains:
TARGETS = @STATIC_TARGET@ @SHARED_TARGET@


Maybe it just needs to be explicitly configured to use system readline instead?

Yep that's it.  --with-system-readline

Ok, so not that dramatic then.




[Reply][About]
[<<][nixos][>>][..]