Georg Nikodym wrote:
> On Aug 24, 2007, at 20:34, Greg Chicares wrote:
>> Wouldn't you have the same issue if you built the app with msvc?
>
> Thanks for the response.
>
> Well, there's the rub. Using Visual Studio (2005) I made a slightly
> different program:
[...]
> Running the compiled result of this under cygwin yields:
>
> georgn@up /cygdrive/c/Users/georgn/Documents/Visual Studio
> 2005/Projects/debug
> $ ls -l
> total 776
> -rwx------+ 1 georgn None 0 Aug 27 10:52 foo
> -rwx------+ 1 Administrators None 40960 Aug 27 10:52 temp.exe
> -rwx------+ 1 Administrators None 319952 Aug 27 10:52 temp.ilk
> -rwx------+ 1 Administrators None 429056 Aug 27 10:52 temp.pdb
>
>
> And the result is the same whether I use the CreateFile or fopen
> interfaces.
>
> Is the C runtime that various folks refer to subject to change from
> system to system? Is there more than one? Is it a .dll or some static
Not exactly. Although I'm not actually sure.
However, the runtime is different for each version of MSVC.
VS2005 uses a different runtime than VS2003 and both are different from
the VC6.0 version (msvcrt.dll), which is used by MinGW.
The reason for that is that, at least up until now, only the last one
is actually a(n official?) component of the operating system.
Or at least a common component in all of them (from W95 and NT4 onward).
Apart from being a nice feature (no external dlls, etc), I think that
actually makes it legal to link GPL'd code against it (OS exception).
Which is nice, considering that the most of the toolchain is GPL.
As to your problem, I have no idea why cygwin would see them differently.
Do all executables have the "archive" bit set by default?
--
Tuomo
... Enough research will tend to support your theory
-------------------------------------------------------------------------
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-users mailing list
MinGW-users@...
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users