Introduction

This page is a temporary spot for any of my DotGNU Portable .NET-related activities.

DotGNU Portable.NET

Overview

From the website:http://www.southern-storm.com.au/portable_net.html

The goal of this project is to build a suite of free software tools to build and execute .NET applications, including a C# compiler, assembler, disassembler, and runtime engine. While the initial target platform was GNU/Linux, it is also known to run under Windows, Solaris, NetBSD, FreeBSD, and MacOS X. The runtime engine has been tested on the x86, PowerPC, ARM, Sparc, PARISC, s309, Alpha, and IA-64 processors.

My Build Scripts

Here are scripts I used to check out from CVS, configure and build. I use them on a RedHat 8.0 install which has all of the prerequisite developer tools. Unlike the official build instructions, this uses a non-default prefix.

Before you run any of these scripts, be sure to edit env.sh and set DOTGNU_ROOT_DIR appropriately. Before you run any of the other scripts, be sure to source env.sh:

. env.sh

Script Name Description
co.sh Checks out treecc, pnet, pnetlib under DOTGNU_ROOT_DIR. This is only necessary once. To subsequently refresh the sources, use cvs update [-C] from the appropriate subdirectory (tree, pnet, pnetlib). See the CVS manual for further details.
all.sh Configures and builds all modules.
cfg.sh Configures one module (i.e. cfg.sh treecc). This is invoked by all.sh.
build.sh Builds one module. This is invoked by all.sh and can be subsequently invoked by hand to rebuild and install a module.

Download the scripts: BuildScripts.tar.gz

Here is how I just got and built everything from scratch: 

cd /datal/dotgnu-pnet/scripts
. env.sh
co.sh
all.sh
cd ../pnetlib/samples
export PATH=/datal/dotgnu-pnet/build/deploy/bin:$PATH
ilrun FormsHello.exe

Please send feedback; let me know if I could have done things better.

A Cool Game

Check out my Nim page for a link to a game written in C# which runs happily under pnetlib 0.6.0!