Re: [sage-devel] Linking to libstdc++

2020-06-14 Thread Dima Pasechnik
please see https://trac.sagemath.org/ticket/29856 for a try to remove it On Sun, Jun 14, 2020 at 9:55 AM François Bissey wrote: > > +1 - it should at least be tried. > > > On 14/06/2020, at 7:55 PM, Dima Pasechnik wrote: > > > > Probably can be just removed. > > -- > You received this message be

Re: [sage-devel] Linking to libstdc++

2020-06-14 Thread François Bissey
+1 - it should at least be tried. > On 14/06/2020, at 7:55 PM, Dima Pasechnik wrote: > > Probably can be just removed. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an ema

Re: [sage-devel] Linking to libstdc++

2020-06-14 Thread Dima Pasechnik
Probably can be just removed. On Sun, 14 Jun 2020, 05:29 François Bissey, wrote: > > > > On 14/06/2020, at 4:25 PM, Isuru Fernando wrote: > > > > Yes, it was probably NTL related. > https://github.com/sagemath/sage/commit/bc333c78b0369377657452e340cb6b3f27c5cee0 > > > > Nice digging. libcsage i

Re: [sage-devel] Linking to libstdc++

2020-06-13 Thread François Bissey
> On 14/06/2020, at 4:25 PM, Isuru Fernando wrote: > > Yes, it was probably NTL related. > https://github.com/sagemath/sage/commit/bc333c78b0369377657452e340cb6b3f27c5cee0 > Nice digging. libcsage is no more and it’s been a while. > I think distutils now knows to link with the C++ compil

Re: [sage-devel] Linking to libstdc++

2020-06-13 Thread Isuru Fernando
Yes, it was probably NTL related. https://github.com/sagemath/sage/commit/bc333c78b0369377657452e340cb6b3f27c5cee0 I think distutils now knows to link with the C++ compiler even though it compiles C++ sources with a C compiler. OSX build works fine without `libc++` being linked in explicitly, so t

Re: [sage-devel] Linking to libstdc++

2020-06-13 Thread François Bissey
That far back? It was probably something like ntl or singular (or something that has since then been removed) that didn’t link properly. More seriously, it may have been because the linker used was gcc instead of g++ even when linking C++ code. We know there is/was that issue about C/C++ compiler

[sage-devel] Linking to libstdc++

2020-06-13 Thread Isuru Fernando
Hi, Anybody know why sage is linking to libstdc++? https://github.com/sagemath/sage/blob/cdb4c0b073efce77b08de4aa24df6583cdb74fa3/src/setup.py#L371-L374 In OSX, we don't need libstdc++, because we are using libc++. Git history says it was added 13 years ago by William Stein. Isuru -- You rece