QB64.org Forum
Active Forums => QB64 Discussion => Topic started by: Ryster on April 09, 2019, 02:41:16 pm
-
You have to praise the creators for QB64 under Windows - it works fine since December 2018. I downloaded a new version under Linux to test my code. Earlier QB64 under Linux worked only to a certain point. When the code was significantly enlarged, the compilation was no longer successful. Returning to the new version under Linux. I wanted to test my code and unfortunately to my surprise the compilation failed. And it was written that the problem with memory was solved, and here is such a surprise. Error plug below compile.log: cc1plus: out of memory allocating 16 bytes after a total of 5422440448 bytes
-
I don't have any help for you, but I do have a question:
Can the Windows version of QB64 compile MacOS and Linux binaries?
-
Nope, it can't.
-
Ah, that's too bad.
If cross-compiling worked, one could fall back to compiling on whichever system was working when compiler quirks (like Ryster's) show up.
Would it be hard to add cross-compiling support for QB64? Most compilers support cross-compiling without too much difficulty. But if different compilers are being used on the different OSes, then it would probably be a lot of work.
-
We ship a compiler for Windows and use whatever is available on Linux. For macOS we use Xcode's command-line tools.
-
Thanks for the info.