On Sat, 31 Mar 2012 02:22:43 +0200 Romain Geissler <romain.geiss...@gmail.com> wrote:
> > I tried to build the latest melt-branch (not the generated tarball) on a mac. > Here is the few change required to allow the build (note that it builds but > as your > cc/cxx detection still fails, the generated melt-runtime.o and *.so files > can't be > loaded with gcc build with cxx). Thanks! But please patch melt-build.tpl, not melt-build.mk which is autogen generated. > > I removed the test of _POSIX_C_SOURCE in melt-runtime.c because this > makes no sense to test the availability of the poll function that way : just > use > the function, the compiler will find it out by itself if it is really > defined. Moreover, > this kind of test should be in a configure file, not in a source file. On a > mac, > _POSIX_C_SOURCE is not defined by default, and defining it lead to errors > while building other parts of GCC. Do you have any ideas on how to make autoconf things for the MELT plugin? Also, I was believing MacOSX needs *dylib files not *so one ? Thanks, cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mine, sont seulement les miennes} ***