Re: Extra import symbol in debug build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Feb 2023, 14:59 , <i.nixman@xxxxxxxxxxxxx> wrote:

> On 2023-02-17 12:06, Jonathan Wakely wrote:
>
> >
> > That suggests either you built it wrong, or that library is from an
> > older
> > GCC, not the one you're compiling with.
>
> thank you Jonathan!
>
> will check this now.
>
>
> I have one more question.
>
> just now I rebuild the executable using `-static-libstdc++`, and I can
> confirm I can see that option in the linker cmdline, but the executable
> still depends on libstdc++.so.
> how can this be?
>

If you're linking to some shared library that depends on libstdc++.so then
your executable will depend on it.

I think this thread has gone in too long without any details of what
commands you're actually using to compile and link. There's only so much
people can tell you by guessing.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux