On 9/9/06, Carlo Calica <[EMAIL PROTECTED]> wrote: > On 9/9/06, Dan <[EMAIL PROTECTED]> wrote: > > As I work to try to improve rootless's portability (I'm now trying to > > go for both Cygwin and OS X) I'd like to alter Get_Architecture. For > > non-Linux kernels, I'd like to append the kernel type to the result. > > I'd also like to account for OS X's incorrect uname -m output.
How is that going? Does it take too much "ifdef"fing in the scripts? Could you post a patch here before committing so I could look at the changes needed for portability? I think it could be cleaner if conditional features were configured through Directories.conf than based on architecture checks, so that different environments could have different Directories.conf entries, but if it's not a lot of stuff, then I figured it would be okay. > > All the output for Gobo's ARM, PPC, and i686 ports should be exactly > > the same. Cygwin on an i686 will be i686.CYGWIN. OS X on a ppc will > > be ppc.Darwin. The idea is to make sure that Get_Architecture only > > returns the same thing on two machines with binary compatibility. > > > > Is that ok? > > Seems reasonable but I've been removed from development for some time. Nice to see you back in the mailing list, btw! > One thing to keep in mind, our scripts assume a GNU environment. > Shouldn't be a problem with Cygwin but it will be with Darwin. The > simple solution is to add CoreUtils and others to your path. > Unfortunately, that breaks ./configure because of a uname > incompatibility (I think). In the end, it was easier to install > ubuntu on my ibook. Getting GoboLinux PPC done is low on my priorities right now :( (it's essentially at the same stage it was 1 year ago). I went through the bootstrap-from-Ubuntu path that time. We might try getting a new port done using Lucas' Bootstrap tool some time. -- Hisham _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel