Difference between revisions of "Compiling ScummVM/AmigaOS4"

Jump to navigation Jump to search
m
Final version
m (Minor formatting)
m (Final version)
 
Line 1: Line 1:
= Compiling ScummVM for AmigaOS4 =
= Compiling ScummVM for AmigaOS4 =


For building ScummVM on AmigaOS4, use the following build instructions:
For building ScummVM on AmigaOS4, use the following build instructions:
== Prerequisite ==
== Prerequisite ==
*Download and install the latestt AmigaOS4 SDK from [http://hyperion-entertainment.biz/index.php/downloads?view=files&parent=30 Hyperion-Entertainment].
* Download and install SDL(1 or 2) (where SDL2 should always be preferred) SDK from [https://github.com/AmigaPorts/SDL/releases GitHub].
* You may also need libogg, libvorbisfile, libvorbis, libFLAC, libmad, libtheoradec, libfaad(2), libmpeg2, liba52, libfreetype, libGL and/or libogles2 (and maybe more as more dependancies are added)
*Download them from [http://os4depot.net/index.php?function=browse&cat=development/library OS4Depot.net].




Download and install the latest AmigaOS4 SDK from [http://hyperion-entertainment.biz/index.php/downloads?view=files&parent=30 Hyperion-Entertainment].
Download and install SDL(1 or 2) (where SDL2 should always be preferred) SDK from [https://github.com/AmigaPorts/SDL/releases GitHub]
You may also need to install
*libogg
*libvorbisfile
*libvorbis
*libFLAC
*libmad
*libtheoradec
*libfaad
*libmpeg2
*liba52
*libfreetype
*libGL (and optional libogles2)
and maybe more, as more dependancies are added.
Download them from [http://os4depot.net/index.php?function=browse&cat=development/library OS4Depot.net].
== Configuring ==
== Configuring ==




Run the configure script.
Run the configure script.
* type
 
<syntaxhighlight lang="bash">
type
<syntaxhighlight>
sh ./configure --enable-plugins --disable-detection-full --enable-release
sh ./configure --enable-plugins --disable-detection-full --enable-release


(Instead of
 
Instead of
--enable-release
--enable-release
use
you can use
--enable-debug
--enable-debug
to add debug flags.
to add debug flags.


While
--enable--plugins
--enable--plugins
is the command to build a shared objects version of ScummVM.
is the command to build a shared objects version of ScummVM.
If you must (see below), use
If you must (see comment further down below), use
--enable-static
--enable-static
to build the static version.)
to build the static version.
</syntaxhighlight>for a list of configure options, additional features etc. (e.g. not yet enabled/unstable engines),
</syntaxhighlight>for a list of configure options, additional features etc. (e.g. not yet enabled/unstable engines),


Line 42: Line 62:


If you are trying to build ScummVM statically linked (all-in-one binary) your system memory will likely run out during the linking process.
If you are trying to build ScummVM statically linked (all-in-one binary) your system memory will likely run out during the linking process.
The currently available AmigaOS4 NG systems are limited to 2 GB of RAM (where the limit actually stops at roughly 1550 MB) on the OS level (this may change in the future, but right now i would advise against a natively build static binary. (Cross-compiled static builds are still available throught the ScummVM buildbot (https://buildbot.scummvm.org/#/), albeit not with all available features).
The currently available AmigaOS4 NG systems are limited to 2 GB of RAM (where the limit actually stops at roughly 1550 MB) on the OS level (this may change in the future, but right now i would advise against a natively build static binary.
Cross-compiled static builds are still available throught the ScummVM buildbot at https://buildbot.scummvm.org/#/, albeit not with all available features).
</syntaxhighlight>
</syntaxhighlight>
*type
 
<syntaxhighlight lang="bash">
 
type<syntaxhighlight>
gmake clean
gmake clean
</syntaxhighlight>
</syntaxhighlight>
in the directory ScummVM was configured and then
in the directory ScummVM was configured and then
<syntaxhighlight lang="bash">
<syntaxhighlight>
gmake amigaosdist
gmake amigaosdist
</syntaxhighlight>
</syntaxhighlight>
Line 58: Line 80:


== Installing ==
== Installing ==


Copy (and rename, if needed) the final "install/" subdirectory wherever you want.
Copy (and rename, if needed) the final "install/" subdirectory wherever you want.
276

edits

Navigation menu