tags 414827 moreinfo
thanks

Martin Koeppe wrote...

> In Windows Server 2003 R2 Services for Unix aka Interix there is a
> magic file from Microsoft included, which has some details about
> Windows EXE files, especially the POSIX-CUI binaries. I have attached
> the whole magic file for reference, but I think only lines 11 - 104
> are interesting for a possible inclusion in file's magic.
> 
> The current Debian file says for e.g. Interix's /usr/bin/file
> (statically linked):
> "MS-DOS executable PE  for MS Windows (POSIX) Intel 80386 32-bit"
> whereas Interix's file says about itself
> "Windows NT PE format (EXE), executable not stripped Intel Posix-CUI DOS 
> executable (EXE)"
> 
> For Interix's /usr/local/bin/perl (dynamically linked) Debian file says:
> "MS-DOS executable PE  for MS Windows (POSIX) Intel 80386"
> And Interix file:
> "Windows NT PE format (EXE), dynamically linked executable not stripped Intel 
> Posix-CUI"
> 
> When matching this, not for "ELF", as on Linux, but instead for
> "EXE", only the Interix version works. It also says about
> strippedness and dynamic link (.so) properties.

It's been quite a while ... Can you check with a recent version of
file (5.17 from jessie/sid) whether this is still an issue?

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to