How to compile Dosbox SVN Build Daum source code by using either gcc or g++ compiler

Apr 19, 2018 at 5:59pm
I want to compile Dosbox SVN Build Daum source code by using either gcc or g++ compiler, but I have no idea how to do this.

The source code can be downloaded from https://github.com/aybe/dosbox-svn-daum.git

Can someone help me with this please?
Apr 19, 2018 at 7:29pm
Did you read the INSTALL instructions from the link you posted. It tells you how to compile the source.

Apr 21, 2018 at 1:42pm
Are there INSTALL instructions?

I didn't notice them before I wrote this question.

Now I see them and I will have a look at them now and I will let you know if I understand what I need to do or not.

EDIT: Okay I took a look in this file, i.e. the file named "INSTALL" without extension, and unfortunately I don't understand what he/she that made this file wants me to do.

Can you better explain me please?
Last edited on Apr 21, 2018 at 4:13pm
Apr 21, 2018 at 5:30pm
There are quite a few dependencies to install first.
For a beginner it's not that easy.
Why do you want to build it?

There are binaries available.
https://www.dosbox.com/download.php?main=1

Here's a step-by-step tutorial for MinGw
https://www.dosbox.com/wiki/Building_DOSBox_with_MinGW
Apr 22, 2018 at 10:11am
Thomas1965 said:

There are binaries available.
https://www.dosbox.com/download.php?main=1


My response is: I already know this fact and I am aware about this.

Thomas1965 asked me:
Why do you want to build it?


My answer is: I learned both C++ programming and Win32 API programming and I want to use my knowledge to modify Daum's DosBox to satisfy my needs and to do that I need the source code of his/her DosBox, not the executable and binary code.

This is okay that I could find by myself a download that gives me the source code of his/her DosBox, so now I can modify it as I want, but what should I do after the modification?

After the modification I need to compile the modified source code and get the executable of the DosBox that I want to use, but I found myself not knowing how to compile the source code, so I downloaded the source code, but I am not modifying it until I know how to compile it first.

This is the reason that I started this thread to learn how to compile the source code of DosBox Daum.

I guess that this is possible to do what I want to do using either g++ or gcc compiler, but I am still not sure how to use either g++ or gcc to achieve this.

Once I know I will be satisfied.

The reason that I chose to start this thread in the "Beginners" forum is because using either g++ or gcc to compile an application that was written either in C++ or C is very basic, and not knowing how to do this basic makes me a beginner, although I am not beginner neither in C++ nor C nor Win32 API programming at all.

Thomas1965 said:
Here's a step-by-step tutorial for MinGw
https://www.dosbox.com/wiki/Building_DOSBox_with_MinGW


I believe that compiling DOSBox with MinGw is also possible and I don't care what compiler I will use to compile this DOSBox as long as I have the ability to compile this DOSBox somehow.

I hope that this tutorial will help me.

Thank you very much for posting it for me. I appreciate this a lot.

I will let you know if this helped me or not.
Topic archived. No new replies allowed.