Any gcc options to modify sizeof a type? #9829
-
Good day, I'm attempting to build Mit-scheme in MSYS2 with mingw. When running make I very quickly hit an error. Are there any obscure compiler flags I can pass for this situation? In the meantime I'm going to use guile that is available through pacman. (Thank you to everyone involved.) At some point I hope to contribute back to msys2 and mingw64. I've been using it to try to make games with openGL that will be friendly to Linux and Windows if any are ever to a point of working and fun. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I'm not aware of such option and doubt somebody has created it. On Windows |
Beta Was this translation helpful? Give feedback.
-
Cygwin is LP64 rather than LLP64. https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models |
Beta Was this translation helpful? Give feedback.
I'm not aware of such option and doubt somebody has created it.
On Windows
long
is 32-bit long so the correct fix is to uselong long
in your code.