#ifdef __FreeBSD__
#if defined(i386) && !defined(__LP64__)
#define AS_X86
#else
#define AS_MAX_PORTABILITY
#endif
#endif
FreeBSD x86 Native Calling Conventions
The following will add support for native calling conventions on FreeBSD for the x86:
Add that to as_config.h inside of the GNU C check. I think this will also work for other BSD systems, but I don't have any others installed right now. I will do this over the next couple of days and post the required code after I verify that it works correctly.
I did run test_feature on it and it passes all of the tests.
Jeremy
Forgot to mention that to compile it on FreeBSD you have to use gmake as BSD's make isn't totally compatible and will not work with angelscript's gnu c makefile.
Cool, thanks. I'll add this as soon as possible.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement