libffi on for NetBSD on the PowerPC

Anthony Green green@cygnus.com
Tue Jul 25 10:46:00 GMT 2000


On Tuesday, July 25, 2000 10:22 AM, Eric Green 
[SMTP:egreen@allegronetworks.com] wrote:
> I am trying to get Kaffe to build on Netbsd on a PowerPC, and I need an
> implementation of libffi that runs on this
> platform combination.  Is there a port available for this platform
> combination, and if not what would be involved in doing
> one?

It shouldn't be very difficult since libffi already supports PPC Linux.  I 
don't know for sure, but I suspect that NetBSD and Linux share the same 
calling conventions.

It may be as simple as adding the appropriate case to the configure script. 
 Here are the existing PPC cases...

powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;;
powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;;

AG



More information about the Libffi-discuss mailing list