chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] numbers egg depends on libstdc++ and some questions


From: Vasilij Schneidermann
Subject: Re: [Chicken-users] numbers egg depends on libstdc++ and some questions
Date: Sat, 25 Feb 2017 10:12:22 +0100
User-agent: Mutt/1.7.2 (2016-11-26)

Hello,

> 1) Why does the numbers egg use libstdc++ ?  Just curious.

This is most likely due to Windows not really giving you a C compiler or
runtime.  MSVCRT is actually a C++ runtime with loads of extern "C".
cl.exe is actually a C++ compiler covering a subset of C.  I wouldn't be
surprised if mingw followed suit by linking to libstdc++, even when
compiling shared C libraries (which happens to be the case with eggs).
After all, it's not like it can reuse an existing alternative libc
because these depend on certain syscalls being available to work,
including newlib.  Depending on a libc++ however would work as it
depends on having something looking like a libc, therefore the
combination of libstdc++ and MSVCRT is legitimate.

tl;dr: Yes, this makes sense, in a twisted way.

Cheers
Vasilij



reply via email to

[Prev in Thread] Current Thread [Next in Thread]