VOGONS


DJGPP

Topic actions

First post, by benheath

User metadata
Rank Newbie
Rank
Newbie

Hello all, first post here.

I guess this could be moved to General, but it is development nonetheless. On a truly masochistic whim, I wanted to see if Dosbox could run DJGPP so I could try some dos development. I installed DJGPP following its instructions (as adapted for Dosbox) and upon running gcc -v, I get the following:

C:\> gcc -v
Load error: no DPMI - Get csdpmi*b.zip

csdpmi5b.zip *has* been unzipped properly, but all the programs in DJGPP seem to complain about this. Rhide says something similar, and so does as.

So, what's up? Should I quit now (probably 😜) or just cross-compile under Unix (since I'm using FreeBSD)? Has anyone else tried to develop new DOS apps with Dosbox?

Thanks ahead of time 😀
Ben

Reply 1 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

check that this gcc.exe and cwsdpmi.exe files are in the same directory

Reply 2 of 5, by benheath

User metadata
Rank Newbie
Rank
Newbie

That did it! Upon extraction, cwsdpmi* was extracted to BIN, which BSD differentiated from bin, to which everything else was extracted.

Thanks wd!

edit: Heh, rhide works just fine and a quick Hello World program in C compiles and runs. Fantastic.

Reply 3 of 5, by leileilol

User metadata
Rank l33t++
Rank
l33t++

nvm i got it

Last edited by leileilol on 2008-09-25, 19:51. Edited 1 time in total.

apsosig.png
long live PCem

Reply 4 of 5, by Snev

User metadata
Rank Newbie
Rank
Newbie

How do you set environment variables in dosbox for djgpp? I tried running a bat script but that didnt work.
Greets, Snev

Reply 5 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

set