hippomocks icon indicating copy to clipboard operation
hippomocks copied to clipboard

Document platform support

Open jbrwilkinson opened this issue 9 years ago • 3 comments

We also use Linux-on-x86/64, AIX-on-Power and Solaris-on-Sparc platforms at our office and, from reading the HippoMocks headers, it appears that we cannot use HippoMocks as the framework leverages Windows functions like VirtualProtect and has hand-crafted assembly.

Please can you document this somewhere.

jbrwilkinson avatar Jul 09 '15 21:07 jbrwilkinson

It works on all platforms - except for the static / free-function mocking which only works on all x86 (+64bit) and ARM platforms. I don't have any Power / Sparc systems to test on, so they are effectively unsupported due to lack of hardware.

If you only mock virtual functions, that functionality is portable to any GCC/MSVC/Clang targeted system (and probably others as well, but not tested). EDG functionality was also present but hasn't been tested in a while, due to lack of any non-commercial EDG to test it with.

dascandy avatar Jul 16 '15 13:07 dascandy

yes It would be nice to have other platform support, if anyone want to join you're welcome...

I suggest to start with MIPS support

https://github.com/dascandy/hippomocks/pull/50

Also it could be good to have it integrated into debian as it supports architectures and we could get feedback from user, I could help on that.

Keep in touch

rzr avatar May 24 '16 10:05 rzr

Is MinGW on Windows with GCC compiler also a supported platform?

gza3we avatar Feb 09 '17 11:02 gza3we