VOGONS


First post, by jackzhc911

User metadata
Rank Newbie
Rank
Newbie

Hello everyone:
This is my first post question, and I hope some body can help me.
I like DOSBox, and I even teach my kids to play old games with it.
***
I'd like to compile dosbox by myself, but I just couldn't success executing.
My environment is:
WinXP Home, MinGW/Msys, GCC-4.6.2.
I followed the guild to to "./configure --enable-debug=heavy && make"
After compiled, no error messages, but when I executed it, It just showed a black box and disappeared quickly.
So, I used GDB and tried to find out what happened.
When I load dosbox.exe, and I found a message showed up:
...
Invalid allocation size -0xFFFFFFDC (exceeded 7ffdefff)
...

can some body told me, is there anything I lost ?
Thanks.

~Jackzhc911~

Reply 1 of 3, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

As you thanked in the thread about the gdb debugger replacement, is this with unaltered dosbox source or with that patch?

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 2 of 3, by jackzhc911

User metadata
Rank Newbie
Rank
Newbie

My friend, glad to hear from your response 😄

What I used is svn version downloaded from dosbox.com.
Actually I also tested the other version combined Python, but the result was the same situation. And I didn't test the version combined GDB (patched for GDB).

still thanks for your reply.

~jackzhc911~

Reply 3 of 3, by jackzhc911

User metadata
Rank Newbie
Rank
Newbie

OK, after so many times' compiling, I finally found how to solve it.

The problem was at "pdcurse".... 🤣
So, I downloaded it again from sf.net, and use dlltools to regenerated my own "libpdcurse.a", and it worked !

I feel very happy now, because I finally have a custom-compiled DOSBox!

Now, I want to test gdbserver version under MinGW. Hope I could succeed !