This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What is msvc in i586-mingw32msvc?


Shriramana Sharma wrote:

> > The mingw tool chain uses the Microsoft C runtime library (MSVCRT.DLL).
> 
> Looks like MinGW executables have a DLL dependency just like Cygwin
> executables do.

Of course they do.  But MSVCRT.DLL is a system component that is
guaranteed to exist on any windows machine, just like the dozens of
win32 API DLLs.

> Do Linux executables also have such a library dependency?

Of course they do.  You can't write a non-trivial C program without
linking to a C library.  You can statically link against the C library,
but that is a move of extreme desperation that is usually only done by
closed source proprietary applications.  And from what I have read
modern glibcs are making it harder and harder to actually accomplish
this, especially if you use threads or name resolution modules.

Brian

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]