[Mono-devel-list] Cygwin patches
Raja R Harinath
rharinath at novell.com
Thu Apr 22 23:25:24 EDT 2004
Hi,
Gonzalo Paniagua Javier <gonzalo at ximian.com> writes:
> El jue, 22-04-2004 a las 11:55, Raja R Harinath escribió:
>> Hi,
>>
>> Urs Muff <umuff at QUARK.com> writes:
>>
>> > Index: mono/runtime/Makefile.am
>> > ===================================================================
>> > RCS file: /mono/mono/runtime/Makefile.am,v
>> > retrieving revision 1.56
>> > diff -u -r1.56 Makefile.am
>> > --- mono/runtime/Makefile.am 14 Apr 2004 03:20:01 -0000 1.56
>> > +++ mono/runtime/Makefile.am 19 Apr 2004 16:15:38 -0000
>> > @@ -64,7 +64,11 @@
>> > # Keep in sync with mono/mono/metadata/Makefile.am
>> > #
>> > assembliesdir = $(libdir)
>> > +if PLATFORM_WIN32
>> > +monobinsdir = $(libdir)
>> > +else
>> > monobinsdir = $(bindir)
>> > +endif
>>
>> I think it's better to just do
>>
>> monobinsdir = $(libdir)
>>
>> even in Unix. The *.exe files appear unnatural, and don't actually get
>> any benefit by being in $PATH.
>
> What if I have binfmt_misc enabled? :-/
Put a symlink in $(bindir) :-)
Anyway, using the default install
$ cd ~/bin/
$ ls -l mcs.exe
-rw-r--r-- 1 rharinath users 1135616 2004-04-22 14:32 mcs.exe
So, no use being in $PATH. Also, suppose I want ~/bin/mcs.exe to run
with ~/bin/mono, and /usr/bin/mcs.exe with /usr/bin/mono -- I need to
put in a ~/bin/mcs wrapper, anyway. (This is a akin to the cygwin case,
where you want to run with mono instead of the M$.NET implementation.)
And most importantly IMHO, it feels highly unnatural to be executing
'anything.exe' on Unix :-)
- Hari
More information about the Mono-devel-list
mailing list