Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 19:46 Anton Wöllert, wrote: > Thanks for your comments, > > sorry for posting on the wrong mailing list. I'll just restate my > initial question here on gcc-help again: > >I was trying to build a cross-compilation toolchain for a specific >target using a newer GCC ve

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Thanks for your comments, sorry for posting on the wrong mailing list. I'll just restate my initial question here on gcc-help again: I was trying to build a cross-compilation toolchain for a specific target using a newer GCC version, than the one that the binaries were build on the targ

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
This doesn't belong on this mailing list though, please use the gcc-help list instead. This list is for discussion of GCC development, not help using it. On Tue, 30 Aug 2022, 18:20 Jonathan Wakely, wrote: > > > On Tue, 30 Aug 2022, 17:53 Anton Wöllert, wrote: > >> Hi Jonathan, >> >> thank you

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 17:53 Anton Wöllert, wrote: > Hi Jonathan, > > thank you for your reply! > > On Tue, 2022-08-30 at 17:09 +0100, Jonathan Wakely wrote: > > > > > > On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, > > wrote: > > > If this libstdc++ is > > > newer than the one one the target,

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Hi Jonathan, thank you for your reply! On Tue, 2022-08-30 at 17:09 +0100, Jonathan Wakely wrote: > > > On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, > wrote: > > If this libstdc++ is > > newer than the one one the target, I get undefined references > > (because > > there are some newer imp

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, wrote: > Hello list! > > I was trying to build a cross-compilation toolchain for a specific > target using a newer GCC version, than the one that the binaries were > build on the target. > > The C part seems to work well, but the C++ part doesn't.

Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Hello list! I was trying to build a cross-compilation toolchain for a specific target using a newer GCC version, than the one that the binaries were build on the target. The C part seems to work well, but the C++ part doesn't. It seems that the G++ ships it's own libstdc++ include headers. If t