To checkout the source code out from the Subversion repository, we also need Other valid types are file (a plain file),Īrchive (an archive of the types tar.gz, tar.xz, tgz, tar.bz2, or zip) In case of DosBox, we checkout the source code from a Subversion On that account, the port fileįor DosBox the dosbox.port looks as follows:įirst, we define the license, the version and the type of the source code Libraries (e.g., libSDL), the ports repository within the Genode Since DosBox is an application, which depends on several ported Libraries are already available on Genode. Mandatory on Linux and do not matter on Genode. That at least libSDL, libSDL_net, libstdc++, libpng, libz, and Using readelf on the binary shows all direct dependencies. InĪddition, we will inspect the DosBox binary:Ġx0000000000000001 (NEEDED) Shared library: This log file willīe helpful later on when the target.mk file needs to be created. (build.log) of the whole build process at our disposal. We start by checking out the source code of DosBox from its subversion repository:Īt this point, it is helpful to disable certain options that are notĪvailable or used on Genode just to keep the noise down:Īfter the DosBox binary is successfully built, we have a log file Program for native ports, it is appropriate to copy those generated filesĪnd adjust them later on to match Genode's settings. Since Genode does not use the original build tool of the Needed to successfully compile the program. Similar that will generate certain files (e.g., config.h). Nowadays, most applications use a build-tool like Autotools or something In the first step, we build DosBox for Linux/x86 to obtain needed information. Outlined in the previous section will be discussed in detail. Genode Porting Guide: Porting a program to natively run on GenodeĪs an example on how to create a native port of a program for Genode, we willĭescribe the porting of DosBox more closely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |