From: Jim I. <ji...@ap...> - 2002-01-06 03:37:45
|
On 1/3/02 11:31 PM, "Mats Bengtsson" <ma...@pr...> wrote: > > > Ashley Ward wrote: >> >> I don't know if this will help, but SourceForge have Mac OS X 10.1 machines >> (two, last time I looked) on the 'Net that you can use to compile things on. >> >> http://sourceforge.net/forum/forum.php?forum_id=113664 >> >> I'm guessing that you probably couldn't run Project Builder remotely (this >> isn't X windows), but you should definitely be able to telnet to one of the >> machines and use the command line cc etc. >> > > This sounds very complicated, but it would be cool to make it work. > Thanks anyway. If you have a PB project, then there is a command line tool (pbxbuild) that will build the targets of your PB project for you without the GUI. However, you won't really be able to test anything, since Tk won't start (you have to own the console in MacOS X to have rights to talk to the Window Server). So without a MacOS X box, you are pretty much stuck. You can cross build with MetroWerks, as well. Just set up a target in your project that builds a X binary, and it will do so. The easiest way to figure out the settings, probably, is to make a new project with both a 9 & X target, and swipe the settings for the X target from that. You will have to make the X target Mach-O rather than CFM (which CW Pro 7 can do), or you will have to go through a lot of unnecessary work to get it to load into Tk... If you can get something that builds and runs in Carbon on Classic MacOS, I would be happy to try it out on X. We need to talk about how to give both you and the Python folks better access to the event loop anyway. My first choice would be that any window that I don't know about, I will just send the event to the default Carbon Event handler for the Window, and you can then register for that handler... Don't know how this will work on Classic Tk however, since it really hasn't been build for Carbon on Classic Mac OS X. I don't have time to do this myself, but I would like to see this on X, and am more than willing to help debug and figure out a good design... Jim -- ++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++=++= Jim Ingham ji...@ap... Developer Tools - gdb |