On Wed, Jan 02, 2013 at 07:50:05PM -0500, James Turner wrote: > On Wed, Jan 02, 2013 at 04:43:45PM -0800, Josh Elsasser wrote: > > On Wed, Jan 02, 2013 at 07:37:56PM -0500, James Turner wrote: > > > Joshua (and ports@), > > > > > > With the attached diff I am able to build and use clisp on mips64el > > > (loongson). However, I had to disable ffi support in order to achieve > > > this. > > > > > > I have ran into one problem where I could use some guidance on how best > > > to move forward. Because ffi support has to be disabled, readline support > > > is also disabled. Due to this, 2 files have to be removed from > > > pkg/PLIST: lib/clisp/base/readline.o and lib/clisp/full/readline.o in > > > order for clisp to package correctly. > > > > > > What is the best way to handle this on mips64el since these files should > > > be there for the other supported platforms? Should I create a no_ffi > > > flavor and make mips64el use that by default? Suggestions welcome. > > > Thanks. > > > > I would prefer to see ffcall fixed on mips64el, as painful as that > > might be. > > > > Understandable. I'll take a look at ffcall. A package is provided for > mips64el, but for whatever reason, avcall.h isn't usable according to > clisp's configure script even though at the end it says it will build > ffi support, but fails during the make process. > > -- > James Turner | 0x560B0C49
Try running ffcall's tests, it's quite likely that it builds but doesn't actually work. None of the non-x86 arches I tried it on actually worked at first.