Re: FW: [Mingw-msys] How do I recreate the MSYS distribution?
- Date: Wed, 14 Nov 2007 17:14:11 +0800
- From: "Bo Yang" <techrazy.yang@xxxxxxxxx>
- Subject: Re: [Mingw-msys] Some questions about the mingw-runtime .a files
2007/11/14, Brian Dessent <brian@xxxxxxxxxxx>:
So, how MinGW gcc link a program. When you use options such as -lkernel32, how the MinGW gcc and ld works? They link to the libkernel32.a at the lib directory of MinGW, right? And the libkernel32.a is just a import library for the real dll file kernel32.dll, am I right?
Regards!
Bo
Bo Yang wrote:
> So, they are import libraries but where are the corresponding DLLs?
They are part of the operating system, and are usually found in
%SystemRoot%/system32. The actual location doesn't really matter
though, that's just an implementation detail that MS could change at any
time; it certainly has no relevance in terms of using MinGW or gcc to
link a program.
So, how MinGW gcc link a program. When you use options such as -lkernel32, how the MinGW gcc and ld works? They link to the libkernel32.a at the lib directory of MinGW, right? And the libkernel32.a is just a import library for the real dll file kernel32.dll, am I right?
Regards!
Bo
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Mingw-msys mailing list Mingw-msys@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/mingw-msys
- References:
- Re: FW: [Mingw-msys] How do I recreate the MSYS distribution?
- From: Keith MARSHALL
- Re: FW: [Mingw-msys] How do I recreate the MSYS distribution?
- Prev by Date: Re: [Mingw-msys] auto<stuff> troubles.
- Next by Date: Re: [Mingw-msys] auto<stuff> troubles.
- Previous by thread: Re: FW: [Mingw-msys] How do I recreate the MSYS distribution?
- Next by thread: RE: FW: [Mingw-msys] How do I recreate the MSYS distribution?
- Index(es):