VOGONS


First post, by tomaswoj

User metadata
Rank Newbie
Rank
Newbie

Howdy,

im now strugling to recompile dosbox for symbian 😀. It seems that some of the header files are not used at all, for example decoder.h in /src/cpu/*/*.

At least I was not able to find "#include "decoder.h" in the source tree.

Is that correct ? Im getting many compilation errors from some of these header files, and would like to exclude them, if they are obsoleted for any reason.

Cheers
tomaswoj

Reply 2 of 3, by tomaswoj

User metadata
Rank Newbie
Rank
Newbie

Hi WD,

thanks for this info. However i now stepped into another problem. When trying to compile core_full.cpp, im getting errors about declaration syntax error in core_full/string.h.

And indeed the file looks odd, as it begins with:
{
EAPoint si_base,di_base;
Bitu si_index,di_index;
Bitu add_mask;
Bitu count,count_left;
Bits add_index;
....
....

Forgive my ignorance, but what kind of construct is this ?? It seems to be a body of some function (class??) but i cannot see the class itself. Is it concatenated with something during the build ??

On the other hand, string.h in core_normal looks much more sensible.

In general - is there any intro for dummies on DOSBOX build system ? 😀

Cheers
tomaswoj

Reply 3 of 3, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

which compiler are you using ?
dosbox includes the h files in the cpu cores are part of switches

(like this:

swich(a) {
#include "header"
}

Just browse core_full.cpp. It is a very small file.

oh and please give the precise error if you get an error.

Water flows down the stream
How to ask questions the smart way!