[Scummvm-cvs-logs] scummvm-tools master -> 573c93e25bb553fd7e201e55514f89c86f428af2
lordhoto
lordhoto at gmail.com
Sat Feb 27 12:50:40 CET 2016
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm-tools' repo located at https://github.com/scummvm/scummvm-tools .
Summary:
86130ef77d AMIGAOS: Static builds preferred
573c93e25b Merge pull request #10 from raziel-/patch-1
Commit: 86130ef77d1d08caf65c1a376662d3d98ffe3729
https://github.com/scummvm/scummvm-tools/commit/86130ef77d1d08caf65c1a376662d3d98ffe3729
Author: Hubert Maier (raziel- at users.noreply.github.com)
Date: 2016-02-27T08:56:05+02:00
Commit Message:
AMIGAOS: Static builds preferred
I'm not sure if i'm allowed to copy the reasons from a ScummVM PR, so sorry if i broke the guidelines.
I completely forgot about the tools.
It doesn't need to delay the 1.8.0 release process and to be backported, i changed it locally and will use it onward 1.8.x.
Sorry for the hassle
Reasons:
- Shared objects aren't really shared on AmigaOS. (Once two programs load the same .so, it will be available twice in memory, instead of sharing the already available one)
- To make the program run for everyone i need to provide a subdir (SObjs/) which holds all the .so's used while compiling (which are not available in a clean OS install), otherwise most people have to go hunting for the correct .so's online. Even worse is the fact that, if users have older (incompatible) .so's installed, they might experience crashes.
- There is no benefit in building the tools with shared objects (at least on AmigaOS), because even if a new lib version (i.e. libPNG) would be made available as an .so (and features new stuff), it won't be mandatory to immediately switch to it, because ScummVM probably won't take advantage of the new features as fast anyway. So, a rebuilt is always better (imho).
In short:
Switchting to static builds to reduce user grief, crash reports, a little less work to create the package and as a bonus have the tools start a little faster.
Changed paths:
configure
diff --git a/configure b/configure
index 08fb8e9..e0cd407 100755
--- a/configure
+++ b/configure
@@ -1044,7 +1044,6 @@ echo_n "Checking hosttype... "
echo $_host_os
case $_host_os in
amigaos*)
- LDFLAGS="$LDFLAGS -use-dynld"
LDFLAGS="$LDFLAGS -L/sdk/local/newlib/lib"
# We have to use 'long' for our 4 byte typedef because AmigaOS already typedefs (u)int32
# as (unsigned) long, and consequently we'd get a compiler error otherwise.
Commit: 573c93e25bb553fd7e201e55514f89c86f428af2
https://github.com/scummvm/scummvm-tools/commit/573c93e25bb553fd7e201e55514f89c86f428af2
Author: Johannes Schickel (lordhoto at gmail.com)
Date: 2016-02-27T12:50:38+01:00
Commit Message:
Merge pull request #10 from raziel-/patch-1
AMIGAOS: Static builds preferred
Changed paths:
configure
More information about the Scummvm-git-logs
mailing list