[Mono-list] Error: mcs.exe: cannot execute binary file

Piers Haken piersh@friskit.com
Sun, 16 Jun 2002 22:11:31 -0700

what's the status on building corlib with mono? last time I looked there
were some pretty tricky problems to work around, has any progress been
made on this? it's definitely one of the last major barriers to full


-----Original Message-----
From: Duncan Mak [mailto:duncan@ximian.com]
Sent: Sunday, June 16, 2002 1:25 PM
To: Mono mailing list
Subject: Re: [Mono-list] Error: mcs.exe: cannot execute binary file

On Sun, 2002-06-16 at 15:38, Zaphod wrote:
> On Sun, Jun 16, 2002 at 07:05:18PM +0200, Jaime Anguiano Olarra wrote:
> >                 1.- Mono can be compiled in Linux and Windows but
> >                     cannot. Please don't write to the list telling
> >                     you have downloaded the mcs-X.XX.tar.gz and that

> >                     you can't build it. It's a 'status' problem. The

> >                     mcs compiler can't be compiled under Linux yet.
> >                     This means, entering in mcs-X.XX and running
> >                     will show you something as:
> What ! .. I thought everyone said it was "self hosting" way
> back in Jan/Feb , and made a lot of fuss about it . What was 
> that all about ?

I believe it is possible to build mcs on linux with the 'make monomcs'
target. This was introduced in the 0.10 release. However, the standard
'make' and 'make test' targets all use the MS csc compiler, because the
mcs-generated mcs image is slower than the csc generated one. 

Right now, I think we could build both System.Data and System.Xml on
Linux. Gtk# used to build on Linux, and hopefully the bug stopping the
build will be fixed soon.

Duncan Mak <duncan@ximian.com>

Mono-list maillist  -  Mono-list@ximian.com