For different architecture and environment (like Win64/ Win 32/ Mac) cmake generates different projects, which further compiles to give different flatc compilers. My doubt is:
- Do these flatc compilers generate same interfaces (Cpp headers) from a given schema, or there is some difference in them?
- Why is there so much difference in size of these flatc executable, in case they perform same functionality!
- Should I use different flatc to generate schema on different platforms? or can use the same generated interfaces on all three platforms?
Please help.
stats for release flatc binaries from flatbuffers-1.8.0:
- win64 1238KB
- win32 961KB
- mac 1145KB
Github project: https://github.com/google/flatbuffers