Hi Sven, I have given it a try also starting with the BSD target. Of course, there are lots of missing "#ifdef" 's in the code, but the most significant coding change that I have observed thus far is in the dynamic library interface contained in cint/src/shl.c. One can follow the example of the Apache to Darwin port and include code as shown below in the G__SHLHANDLE G__dlopen(path) interface. I have made it as far into the build to produce a tmp_cint binary. However, execution of this by the build seems to hang, and I do not have the expertise to debug this further. Cheers, Jason /**************************************************** * DYLD ****************************************************/ # elif defined(HAVE_DYLD) NSObjectFileImage image; if(NSCreateObjectFileImageFromFile(path, &image) != NSObjectFileImageSuccess) return NULL; handle = (G__SHLHANDLE) NSLinkModule(image,path,TRUE); On Sunday, February 4, 2001, at 06:34 AM, Sven A. Schmidt wrote: > Hi, > > I was wondering how to go about building root for a new platform like Darwin. Darwin is > Apple's open source bsd derivate on top of which runs MacOS X > (http://www.apple.com/macosx). A lot of unix/gnu programs are already available for > Darwin, like xfree, a load of command line tools etc. > > I gave it a shot with the bsd build targets but didn't get far. Since there is no configure > mechanism I wonder how to adapt the sources for a new/unknown platform. What are the > prerequisites to met to build root? There's xfree and there's a compiler. Are there other > Darwinists out there eager to run root on their Macs? > > Cheers, > Sven >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:35 MET