No the HOSTCC=cc failed later at make install because asciidump could not be compiled. Yup...really something weird, because I tried forcing header generation by typing make SDL_ohqvideo.o and it complained no rule to make SDL_ohqvideo.o 😕 😕
Well...your dosbox patch was quite broken 😜 I had to copy/paste the code, it wouldn't apply. I also added few tweaks to better size the window. I'm not sure how fast putenv is, but I guess it shouldn't matter since mode changes are infrequent. Also...there's a problem when fullfixed=true, dosbox seems to calculate display size differently so I added a check for that too. I made a modification to Openglhq as well...I added a check in RenderFrame to see if there is any scaling done, if not, the fragment programs are skipped (I'm not sure how correct my modification is, so if you like this feature you could probably make it better 😉).
I now have an updated build on my page, it works nicely 😀. I also found an interesting thing...triple buffering will work if fulldouble is NOT set. When I set fulldouble and force triple in the control panel, dosbox will crash as it did before...