From owner-freebsd-questions Sun Jan 13 23:22:48 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id F172937B416 for ; Sun, 13 Jan 2002 23:22:43 -0800 (PST) Received: (qmail 81521 invoked by uid 100); 14 Jan 2002 07:22:42 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15426.34626.542140.267096@guru.mired.org> Date: Mon, 14 Jan 2002 01:22:42 -0600 To: "Matt Lazarou" Cc: questions@freebsd.org Subject: Re: CLR for FreeBSD 4.4-stable and a C# Compiler. In-Reply-To: <55826996@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.43 (Python 2.2; freebsd-4.4-STABLE-i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matt Lazarou types: > I picked up a book on C# Programming. C# is a langauge derived from C and > C++, but it was created from the ground up. However, you don't need a C# > editor to write the programs in. C# is MS's response to not being able to add Windows-specific extensions to Java. That's why you can replace "C#" in your description with "Java", and it's still correct. BTW, any programming language that requires a specific editor to write programs in should be rm'ed. The authors should be shot, but such leniency is only allowed for the first offense. > I used emacs and edit to write a simple > program, but i can not compile the program. C# programs are created to run > on Common Langauge Runtime (CLR). I was wondering if FreeBSD had a > compatiable CLR runtime so i could execute the program. I did a query for it > on google and got some results but most of the information wasn't to clear > MS has released a CLR for FreeBSD yet to execute C# programs. MS has indicated they would do that, but I have no idea if they have. You'd have to check with MS about that. The pnet port includes a C# compiler and runtime. I have no idea if the VM it uses is CLR or not. > Another problem i'm having is compiling C# Source Code. IE the extensionsto > create the IL file you have to use the .cs naming convention so i named my > file ie: hello.cs > > When i open a terminal to compile the source file called hello.cs i type: > > csc hello.cs In pnet - the only C# compiler in the ports - it looks like the compiler is called cscc, not csc. > Has anyone else tryed C# Programming on freebsd if so any help would be > greatly apperciated. Nope, I haven't tried C#. If you really want to learn a new language, Java probably has better job prospects, at least for a while. Eiffel is the only language I've run into that manages to get OO right, and studying it is a learning experience in and of itself. I just wish I could find an Eiffel compiler with CORBA bindings for FreeBSD. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message