RE: Porting to Xbox
"Jonathan Bachrach" <[email protected]> Mon, 8 Aug 2005 14:56:16 -0400
| Newsgroups | gmane.comp.lang.goo.general |
|---|---|
| Message-ID | <[email protected]> |
Great job on getting started! I will look into getting goo on something like darcs so that interested people can send me patches etc. I wonder what is involved in getting boehm collector running on xbox? I will look into writing a precise gc but I will say that one nice thing about using a conservative gc is it's nice interoperability with C. I will think about a simple solution to at least get started. jonathan > -----Original Message----- > From: [email protected] [mailto:googoogaga- > [email protected]] On Behalf Of Scott Graham > Sent: Saturday, August 06, 2005 1:06 AM > To: [email protected] > Subject: [Googoogaga] Porting to Xbox > > Hi > > I just got goo .155 up and running on the Xbox. > > Similar to Chris Double's experience on DS, I haven't gotten the Boehm > GC running, so it's just revectored to use malloc and leak terribly. > > The changes were pretty straightforward: > - _MSC_VER != WIN32: a few places, nothing major (Xbox uses the MSC > compiler) > - getenv is not supported on Xbox > - bignum nuked > - I did very simple hacking of io/%port.c as stdio isn't well supported. > - also, for whatever random reason, nmake doesn't seem to be able to > handle %system.c as a file name, so I had to change that to system2.c. > Perhaps you could use __ (or something) instead of % for those files? > (yeah, that sucks) > - there'll probably be some more changes for path/files as the Xbox > stuff is a bit unusual. > > I got as far as the banner, and "goo/user 0<=", but I haven't actually > written any code to receive input from a host PC to pass it to goo. I > suppose it's already run some init code by that point, so it's > probably more or less working? > > So, I guess my new #1 request for future goo development would be a > precise, speedy garbage collector that's as portable as the rest of > goo. :-) > > It's awfully nice weather here right now so I think tomorrow will have > to be a beach day, but once I get a chance and do some better > input-communication code, I'll tidy up the changes and send along a > patch if anyone is interested. > > scott > > _______________________________________________ > Googoogaga mailing list > [email protected] > https://lists.csail.mit.edu/mailman/listinfo/googoogaga _______________________________________________ Googoogaga mailing list [email protected] https://lists.csail.mit.edu/mailman/listinfo/googoogaga