Bug#911668: missing dependencies for actually compiling code
Control: forwarded -1 https://gcc.gnu.org/PR87808
On 23.10.18 12:29, Sébastien Villemot wrote:
> However, installing binutils is not enough, because libgccjit also needs stuff
> from libgcc-N-dev (where N=6 in stretch, N=8 in sid).
>
> But installing the latter is still not enough, because curiously libgccjit
> looks at the wrong place for crtbeginS.o.
>
> In the end I had to install the full gcc-N package to run the minimal example.
>
> So gcc should be made a dependency of libgccjit0 (unless you manage to reduce
> it to a smaller dependency set).
no. for now, run with
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8 ./hello
Reply to: