🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

FreeBSD x86 Native Calling Conventions

Started by
1 comment, last by WitchLord 16 years, 2 months ago
The following will add support for native calling conventions on FreeBSD for the x86:

#ifdef __FreeBSD__
    #if defined(i386) && !defined(__LP64__)
        #define AS_X86
    #else
        #define AS_MAX_PORTABILITY
    #endif
#endif

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
Advertisement
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