Re: Compile libstdc++-v3 without ABI library

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

 



On Sat, 21 Aug 2021, 12:50 Tejas Garhewal via Gcc-help, <
gcc-help@xxxxxxxxxxx> wrote:

> I'm interested in building the GCC C++ standard library without linking
> against any of the 2 ABI libraries available.
>

I'm not sure what you mean by ABI libraries. Do you mean libsupc++ and
libc++abi? The rest of your email doesn't seem related to this.



> I have the option to use no library at all for libcxx, but for reasons
> beyond my control I will not be able to use libcxx
>
> I only wish to stick to C++2003 and actively avoid all features from C++11
> onwards including via non-standard extensions.
>
> Is this possible with libstdc++-v3?
>

Yes, just compile your code with -std=c++98



> I tried searching for the relevant mailing list but I couldn't find the
> equivalent of gcc-help for libstdc++. There was only libstdc++and it is
> concerned primarily with development, not helping with issues.
>

It's for both.



[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