2010/2/12 Javier S. Pedro <[email protected]>: > Torello Querci wrote: >> I'm trying to compile mono for MAEMO. > Thanks for the effort! > >> Any suggestion is welcome. > > I'd say try to guess what inotify is used for in Mono (my guess is > some obscure part of System.IO), and if it's not really needed for building > a bootstrapping capable toolchain, then just write the required empty > inotify stubs. >
> If that's not acceptable, you may also want to implement the syscall wrappers > yourself (see the glibc code). > The inotify syscall is not used by mono but by glib, so is the glib that not compile properly. Looking into the configure.in file of glib I see that there is a check for the presence of sys/inotify.h header file. If I try to temporary rename the sys/inotify.h header file now glib was compiled properly. > If you patch sbox's glibc, distributing it will be a nightmare. > Absolutly right. This version of glib is necessary only for compile mono devkit, where the ARMEL version of mono is compiled the normal glib version is used. The problem is related only with host-gcc toolchains, not the target (both x86 and armel) toolchains. Best Regards, Torello _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
