[Mono-list] Gonzalo's bootstrap tarball
Chris Ball
chris@void.printf.net
Sat, 19 Apr 2003 02:39:11 +0100
>> On 19 Apr 2003 01:59:56, Paul <paulf.johnson@ukonline.co.uk> said:
> Are the files in Gonzalo's tarball linux executables or MS
> executables - all I'm getting is that they're typed as
> x-ms-executable instead of x-executable when I look at any
> of the .exe files in the bin directory.
Paul,
mcs.exe is written in C# and runs under mono itself, so is neither a
native Linux _or_ Windows executable. It'll show up as a Win32 binary,
because mono understands the PE binary format. This is necessary - for
example, you could compile up a .NET binary under Windows, copy it to a
Linux machine with mono and execute it directly.
(And, likewise, you can copy a binary compiled under Linux over to the
Windows .NET runtime and run it there.)
$ mcs test.cs
Compilation succeeded
$ file test.exe
test.exe: MS Windows PE 32-bit Intel 80386 GUI executable
- Chris.
--
$a="printf.net"; Chris Ball | chris@void.$a | www.$a | finger: chris@$a
| "Whatever you can do or dream you can, begin it. Boldness has genius,
| power and magic in it." -- Johann Wolfgang von Goethe.