Compiling googletest for 32-bit target, embedded system #4366
Unanswered
DanBellmann
asked this question in
Community Help
Replies: 1 comment 2 replies
-
@derekmauro what do you think it will be ok if I introduce change with stdint.h and replace things like long long to uint64_t? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear community members,
I want to compile googletest with a 32-bit compiler without changing the source code of googletest.
I use CMake to generate the build files. The compiler is not officialy supported by GoogleTest nor by CMake but still usable.
When executing make in the googletest-build directory I get errors like "long long" is nonstandard.
1.Question: Is there a 32-bit source code of googletest? The version has to be under 1.7.0. If not thats also okay!
2.Question: How do I avoid errors like these?
The GNU compiler gcc can do this with the option -m32, my compiler doesn't have such an option.
Thank you for your help and time!
Beta Was this translation helpful? Give feedback.
All reactions