Updated: 11/5/2005; 6:01:48 PM.
Chris Double's Radio Weblog
        

Friday, April 26, 2002

The files to enable compiling Goo under .NET are available here. Unzip into your Goo directory so that the relevant files go under the 'C' and 'C/G2C' subdirectories. Run 'C/G2C/build.bat' to compile.

Note that this is a quick hack to get things working. Various caveats and problems are listed below. Any assistance on any of these appreciated. Email me if you can provide details.

  • For the changes I used _MSC_VER as the define to test against but I
    really need to find what define to use for .NET specifically rather
    than a Microsoft Visual C++ compiler generic define.
  • I had to add prototypes for various functions in grt.h and these should
    really be moved somewhere more valid. The Managed C compiler requires
    prototypes for functions. See the end of grt.h for details. I also had
    to add (char*) casts to some of the pointer manipulation for the
    compiler to be happy.
  • No garbage collection yet. Not sure quite how to
    manage that but I'll look into it. Anyone know how to allocate memory from the garbage collector from C?

6:10:56 PM      

I've just succeeded in building Goo using the C compiler that ships with the Microsoft .NET framework SDK. I build it using the /CLR option which makes it a .NET application. I'm hopinh it's a start to being able to use the Goo programming language with the .NET class library. Goo is a Scheme like language based on concepts from Scheme, Dylan, Cecil and Common Lisp.
11:45:32 AM      

© Copyright 2005 Chris Double.
 
April 2002
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Mar   May



Click here to visit the Radio UserLand website.

Listed on BlogShares

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.