Re: ld cannot find crti.o

2018-06-19 Thread Andrew Miloradovsky
Yes, I managed to get over many issues by means of running `opam install
…` within `guix environment --ad-hoc gcc-toolchain …`. Thanks.

There's one more strange thing though: `cc` isn't defined. How do I make
it pointing to e.g. `gcc`?


On 06/19/2018 12:54 PM, Pierre Neidhardt wrote:
> Have you tried installing gcc-toolchain?
> (It should supersede gcc and glibc.)
>





Re: ld cannot find crti.o

2018-06-19 Thread Pierre Neidhardt

Have you tried installing gcc-toolchain?
(It should supersede gcc and glibc.)

-- 
Pierre Neidhardt


signature.asc
Description: PGP signature


ld cannot find crti.o

2018-06-19 Thread Andrew Miloradovsky
Hi. In order to install Lwt via OPAM, I've just naively installed GCC
via `guix package --install gcc`; but, while attempting to compile
anything, I get the error that ~/.guix-profile/bin/ld cannot find crti.o.

I then tried to install Glibc explicitly, just in case, but the result
is just the same (crti.o, by the way, is present where it belongs, i.e.
~/.guix-profile/lib/crti.o).

What I am doing wrong?