-
Notifications
You must be signed in to change notification settings - Fork 155
Cleaned request __FB_GUI__ intrinsic define #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
added __FB_GUI__
__FB_GUI__
__FB_GUI__
__FB_GUI__
My last cleaned version hope it works now only 1 define as console is default mode, compiled ok with 32 and 64 tested with #if FB_GUI #include "windows.bi" messagebox(0, "Gui mode", "info",0) #else print "Console mode" print : print "Any key to close" sleep #endif
|
Hope this time it is better organized... for the sleep evolution, it's still quite difficult to trap it on the compiler bas files, i think it has to be done on the rtl c code files. I will try , but 1 question wich version of mingw gcc do you promote to compile the c parts? |
|
marpon, there are several tool chains available that can work on windows. Currently I use mingw-w64 versions: And sometimes old mingw (32bit only) version: gcc (GCC) 4.8.1 |
|
oops! clicked the wrong buttons there. The last check was good though. |
|
Thank's for your very fast action, and for the info about tool-chain i'm investigating on how to know on fb_sleep so in fact in rtlib and after to throw the compile error according the situation. |
Here you can find my last (cleaner) version, better to close the previous one.
only 1 define as console is default mode, compiled ok with 32 and 64
tested with
#if FB_GUI
#include "windows.bi"
messagebox(0, "Gui mode", "info",0)
#else
print "Console mode"
print : print "Any key to close"
sleep
#endif