Hi.
I am creating own compiler/linker.
What is the most standard and recommended way
to use binary libraries? (such as user.obj,gdi.obj)
Is it better take them from Windows directly,
from some version of Visual Studio,
or exist special SDK distributions?
Thanks.

Those binaries are not instealled with the operating system, so you have to get them from the compiler's installation directory. Since you are creating your own compiler/linker you too will have to install those libraries with your compiler. I don't know how compiler makers such as GNU get those libraries -- maybe they have to buy a license from Microsoft. The same for STL and other standard C/C++ libraries.

I don't know how compiler makers such as GNU get those libraries -- maybe they have to buy a license from Microsoft.

Concerning GCC for Windows,its responsability of user to provide
all libraries and paths.GCC for Linux as I know does not use native
Windows libraries,only some replacements to create Windows-like
programs.And libraries for NT may differ significantly from those
for 95/98.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.