[Vm-dev] Cog FreeBSD patches

David Graham dgraham at unthinkable.org
Tue Mar 22 12:46:19 UTC 2011


Thanks Eliot!

> 
> Index: platforms/unix/plugins/SqueakFFIPrims/ffi-config
> ===================================================================
> --- platforms/unix/plugins/SqueakFFIPrims/ffi-config    (revision 2372)
> +++ platforms/unix/plugins/SqueakFFIPrims/ffi-config    (working copy)
> @@ -39,6 +39,7 @@
> 
>  case ${abi} in
>     linux)             abi=sysv;;
> +    freebsd)           abi=sysv;;
>     darwin*)           abi=darwin;;
>     *)                 abi=libffi; lib="-lffi";;
>  esac
> 
> This should be irrelevant.  You should not be building the old plugin but instead be using ReentrantFFIPlugin or ThreadedFFIPlugin.  Is this simply to get the configure to run?  If so I'll try and excise support for the old FFI plugin.
> 

Sorry, I picked this up from the freebsd squeak port and didn't realize it wasn't needed anymore.  Cog will configure, build, and run without this change.  The other two patches are required to successfully build.


More information about the Vm-dev mailing list