Transitioning libgomp from C to C++ implementation
Richard Earnshaw (foss)
Richard.Earnshaw@arm.com
Fri May 8 15:29:52 GMT 2026
On 08/05/2026 13:23, Alex (Waffl3x) wrote:
> On Fri, May 8, 2026 at 3:51 AM Martin Uecker <muecker@gwdg.de> wrote:
>>
>> A C library you can usually be used everywhere without much trouble,
>> including various kernel, embedded, and free-standing contexts. So
>> this usually provides more value to users. This may be irrelevant for
>> libgomp though.
>>
>> Martin
>
> C++ supports specifying language linkage with extern "C", the interface
> of a library does not need to match its implementation. Which is also
> what is being proposed here to avoid breaking ABI.
>
> Alex
That may not be enough if you end up depending on libstdc++ during linking.
R.
More information about the Gcc
mailing list